Forum Discussion
KTP_UBS
10 years agoHelper I
Adding new column IF statement in Query table
Hello, I am relatively new to PowerBI and really appreciate it if you could help with my question below: By referring to the excel screenshot below, I would like to add BudgetIndex2 and Budge...
KTP_UBS
10 years agoHelper I
Thanks. Could you please advise on how to write a If statement that compare rows values in the Query Editor?
sdjensen
10 years agoSolution Sage
I am not sure how to compare data from 2 different rows, but why do you need that? Does my sample not solve your problem?
- KTP_UBS10 years agoHelper I
Nope, it does not. I dragged the Project ID from the Project table in the sample file. The changes on the project ID slicer only affects the Total Grant not the Total Budget.
Thanks
- sdjensen10 years agoSolution Sage
I made a few corrections to the file and it's working now - for some reason the relationship between the budget table and project table was deactivated. Try downloading the new file using the same link.