Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |