Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |