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.
Hey guys, i am really struggling with this right now, hope you can help me. Basically, I finally got the right numbers using MTD and YTD for my calculations but now I need to display them on the histogram, but I need them to be split up on histogram like three seperate measures, just like shown below. However, This is what I get right now. And everytime i take off date hierarchy or do something else, then the MTD function doesnt work.
Solved! Go to Solution.
Hi @Anonymous ,
According to my understand , you want to set measure name as X-axis, right?
You could create a new table like this:
And then use SWITCH() function to match each measure:
Measure =
SWITCH ( MAX ( 'For X-axis'[Type] ), "YTD", [YTD], "MTD", [MTD] )
Then you could "seperate" measures in visual:
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.
Best Regards,
Eyelyn Qin
Hi @Anonymous ,
According to my understand , you want to set measure name as X-axis, right?
You could create a new table like this:
And then use SWITCH() function to match each measure:
Measure =
SWITCH ( MAX ( 'For X-axis'[Type] ), "YTD", [YTD], "MTD", [MTD] )
Then you could "seperate" measures in visual:
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.
Best Regards,
Eyelyn Qin
@v-eqin-msft Hi Eyelyn, thats actually very helpful. The only thing is that instead of YTD I want to display MTD LY, but when I change everything to that, I get blank histogram.
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 |