The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi.
I have a matrix, where I have the monthly figures and a running total. For the different categories I would like to show the monthly figures and for the total I would like to show the running total. I am able to "hide" the columns by setting auto-size to off and then dragging the columns. However, when I change the employee I would like to see (slicer) the format changes and the hidden columns are partly visible.
How can I solve this? It doesn't look very nice. The first matrix is correct and the second shows my problem.
Thanks a lot.
Helen
Solved! Go to Solution.
Hi @HEW ,
I created a simply data sample to test:
To my knowledge, since there is no option to dynamically hide fields based on a slicer, you may use Conditional Formatting to keep the font color to make it look like hidden:
change sum color = IF(MAX('ForSlicer'[Value])="sum","Black","White")
change average color = IF(MAX('ForSlicer'[Value])="average","Black","White")
Or create a new table for slicer firstly, and then use SWITCH() to match the measures like:
ForSlicer = {"sum","average"}
Measure = SWITCH(MAX('ForSlicer'[Value]),"sum",[sum],"average",[average])
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @HEW ,
I created a simply data sample to test:
To my knowledge, since there is no option to dynamically hide fields based on a slicer, you may use Conditional Formatting to keep the font color to make it look like hidden:
change sum color = IF(MAX('ForSlicer'[Value])="sum","Black","White")
change average color = IF(MAX('ForSlicer'[Value])="average","Black","White")
Or create a new table for slicer firstly, and then use SWITCH() to match the measures like:
ForSlicer = {"sum","average"}
Measure = SWITCH(MAX('ForSlicer'[Value]),"sum",[sum],"average",[average])
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
82 | |
64 | |
53 | |
52 |
User | Count |
---|---|
128 | |
115 | |
80 | |
65 | |
63 |