Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Hi everyone, is there a way to create a switch function from a measure?
I have seen: SWITCH( Table[ column]... etc
I need to group a measure, to put it in rows. (not in a filter, but in rows)
I have Data% as a measure =
DATA% = IF(ISBLANK([DATA-OrderCount]/[OrderNumberCount]),0,[DATA-OrderCount]/[OrderNumberCount])
This is my goal:
and this is how my data looks and this is what I need my result to look for (Remember, DATA% is a measure)
fyi, I have created a filter with the help of one forum here (using a separate table https://www.youtube.com/watch?v=AZAL-QPn5Zc), BUT I am NOT looking for that because I am unable to bring or connect the CustomerCount to the options in the filter (unless there is a way to do this connection, then that is what I am looking for)
Thank you in advance!!
Solved! Go to Solution.
@Anonymous , I think you need Dynamic Segmentation
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
@Anonymous , I think you need Dynamic Segmentation
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 |