Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello,
As you can see in the screenshot, I have a small problem.
The result for EE is correct but i don't want that the other lines are -13.2.
What can i do?
Thank you very much!
Hi @Anonymous
Try to use IF in your code, something like this:
measure = If([Cluster]="EE",[A1819 YTD EE]-13.2,"")
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your Kudos ✌️ !!
It does not work because the if statement does not let me pick a column in my tables. I've thought about it already
@Anonymous If you are creating a measure and you need to reference a column, use an aggregation like MAX, MIN, SUM, AVERAGE.
@Anonymous
Can you please share a smaple of your data here in table format? or share a sample of your PBIX file.
Appreciate your Kudos ✌️!
Unfortunately no.
Isn't there another solution?
Thank for your answers and taking the time
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |