Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
This is my first post on the Qlik Community so please be gentle.
I'm trying to create an expression to show results if [WTE Contracted]-[WTEBudget] is less than zero.
sum(if([WTE Contracted]-[WTE Budget]<0, [WTE Contracted]-[WTE Budget]))
But it doesn't seem to want to work.
Thanks!
This worked for those interested:
=if(sum([WTE Contracted])-[WTE Budget]<0, sum([WTE Contracted])-[WTE Budget])
does this work?
If([WTE Contracted]-[WTE Budget]<0, sum([BCUESR.WTE Contracted]-[WTE Budget]))
Unfortunately not, it's coming through as a dash.
What is your expression for [WTE Budget] ? May be this ? Can you try?
sum(if([WTE Contracted]-(YourActualexpre for Budged)<0, [WTE Contracted]-(YourActualexpre for Budged)))
This expression now pulls through as 0.00:
sum(if([WTE Contracted]-([WTE Budget])<0, [WTE Contracted]-([WTE Budget])))
Is WTE Contracted and WTE Budget field names or expression labels?
They are expression labels.
I've got this to work:
sum([WTE Contracted])-[WTE Budget]
But I can't get it to only show results if they are <0.
What is your expected output? Can you show some data or sample?
This worked for those interested:
=if(sum([WTE Contracted])-[WTE Budget]<0, sum([WTE Contracted])-[WTE Budget])
i forgot the first sum, nice one.