Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
Not sure if what I'm trying to achieve is possible but I have some information at Site/SKU level where I am performing some aggregate calculations that I then want to perform a distinct count on.
Below is some example data:
The aggregate calculation looks to see if the site should have this SKU in stock, and places a 1/0 flag based on the result. It then calculates to see what % of SKUs are available:
Now those two bits I can do without problem, and they successfully change with any selected filters, but I'm trying to get to a point where I can see how many Sites fit within a percentage band to give a table like the below:
I'm very new to DAX and Power BI so don't know if this is something that can be done? Any hints or pointers will be much appreciated.
Solved! Go to Solution.
Some sort of nested IF would probably work for this if you've only got a small number of options to work with - something like:
PercentageGroup = if([currentpercentagemeasure]<0.6,"50-60%",if([currentpercentagemeasure]<0.7,"60-70%"
and so on
Some sort of nested IF would probably work for this if you've only got a small number of options to work with - something like:
PercentageGroup = if([currentpercentagemeasure]<0.6,"50-60%",if([currentpercentagemeasure]<0.7,"60-70%"
and so on
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 |
---|---|
78 | |
76 | |
53 | |
37 | |
31 |
User | Count |
---|---|
101 | |
56 | |
51 | |
45 | |
40 |