March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
My report is set up so that all the visuals can switch between 2 different measures using a slicer, as one is a currency and the other not I also want the formatting to change as well. I've seen uses of calculation groups but I cant get tabular editor, additionally its being used in graphs so I can't just convert to text. I gather that the new dynamic format feature may be able to help but not sure on the neccesary syntax. Below is how it currently works.
1. Built a table (Comparison scenario) as below for my 2 measure types.
2.Within this table using the following measure;
Solved! Go to Solution.
Hi @joebax86 ,
As far as I know, measure or columns in Power BI only support one data type.
So if you create a measure by SWITCH() it only support one data dype, it doesn't support dynamic data type based on your selection.
According to your statement, I think [Value (Sum)], [Time (Sum)]) are both measures. I suggest you to try Field in "What if Parameter".
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @joebax86 ,
As far as I know, measure or columns in Power BI only support one data type.
So if you create a measure by SWITCH() it only support one data dype, it doesn't support dynamic data type based on your selection.
According to your statement, I think [Value (Sum)], [Time (Sum)]) are both measures. I suggest you to try Field in "What if Parameter".
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |