This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
I created a Switch(True() measure and then used it within a table but it's not displaying the correct values in the total column
I believe it may be using the context of the Switch(True() measure within the Total column.
Switch = SWITCH(TRUE(),
[Margin Measure] >= 100, 1000,
[Margin Measure] >= 80, 500)
In the example above, I want the Switch columns total to be 5,000 rather than 1000
https://www.dropbox.com/s/yl5ypb8tz8asim7/help%20-%20Copy.pbix?dl=0
Thanks,
Mike
Solved! Go to Solution.
Hi @michael_knight ,
In your sample data you could use ISINSCOPE() function to create a new measure as below.
Measure = IF(ISINSCOPE(Sheet1[Agent]),[Total],SUMX('Date',[Total]))
Best Regards,
Jay
Hi @michael_knight ,
In your sample data you could use ISINSCOPE() function to create a new measure as below.
Measure = IF(ISINSCOPE(Sheet1[Agent]),[Total],SUMX('Date',[Total]))
Best Regards,
Jay
here is a workaround for you
Proud to be a Super User!
Thanks, won't be able to apply that to my main dataset. Do you have any alternatives?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |