Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
67 | |
57 | |
50 | |
36 | |
34 |
User | Count |
---|---|
84 | |
74 | |
56 | |
45 | |
44 |