Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am creating a grouping for my measures to show them in a different way like in excel for a table visual.
Currently it times out as I believe it's to big, is there anyway I can optimize the following:
SWITCH(SELECTEDVALUE('measure group'[measure name]),
"Name",[measure1],0)
There are 170 measures in this calculation I have only put one for the example. So will go up to measure170
Hello @Infidti , If multiple measures take similar value then create using OR statement to reduce number of iterations. For example
Switch(Selected Value(Measures),
"Name1"||"Name2"||"Name3", Measure1,.....
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
104 | |
98 | |
97 | |
38 | |
38 |
User | Count |
---|---|
153 | |
122 | |
76 | |
73 | |
66 |