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.
Pure beginner here, only been using the desktop app for a couple of days.
I'm trying to make a stacked bar chart with two values (on x axis) for a few users (on y axis). Adding two values is no problem, however I want one value to be a regular count and the other to be a distinct count. If I do this, it actually seems to not like both types of counts being in there and instead just shows two equal bars with the regular count value. If I make both counts either regular or distinct, then it's fine, but unfortunately my data won't work like that, one HAS to be a regular count and the other HAS to be a distinct count.
Is this a known/expected limitation and if so, is there a way to get around this?
Hi jpuck,
" If I make both counts either regular or distinct, then it's fine, but unfortunately my data won't work like that, one HAS to be a regular count and the other HAS to be a distinct count."
<--- What's your expected result? Could you give some example? In addtion, Could you share a mockup with some dummy data for further analysis?
Regards,
Jimmy Tao
Hi @jpuck
How are you doing this? I have taken the count and distinct count of same column and it appears correctly. Make sure you have selected the count, Distinct count in the Fields property properly.
Otherwise, you can create 2 measures, 1 with count(col1) and another 1 with distinctcount(col1) and use them in the chart.
Thanks
Raj
@Anonymous
So you didn't directly solve my problem, however your question, screenshots, and general confirmation that this actually can be done made me think differently. I believe what's happening here is that while I'm taking two different pieces of information from my dataset, one of them has a relationship back to the other that essentially makes them the same thing based on how I'm filtering. I have no idea if that makes any sense at all to you, but THANK YOU for responding, otherwise I'm not sure I ever would have looked at this from another angle.
I still don't have it figured out but I'm convinced now it's not an impossible thing or a bug, so I'll keep working on it. Thanks!
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 |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
81 | |
67 | |
61 | |
46 | |
45 |