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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have this graph which compares the currently filtered % counts of users vs those of the population.
The measures are:
Unique User Count = Calculate(DISTINCTCOUNT(UserData[user_id]))
and
Population = CALCULATE([Unique User Count],ALLEXCEPT('UserData','Savings Bucket Orders'[Savings Buckets]))
I need to reproduce this kind of graph multiple times for different x-axis of interest, I was wondering if there was a way to have something like
Population = CALCULATE([Unique User Count],ALLEXCEPT('UserData','Columns_in_visual'))
which I can reuse in every graph instead of having to create a new measure for each of them.
All attempts I've tried remove everything in the filter context which isn't what I'm after.
Thanks!
@Tuame , I doubt you can make a dynamic list of columns like that as of now.
You can create an idea https://ideas.powerbi.com/ideas/
I imagined as much, but wanted to ask people who are smarter than me haha - I'll leave the thread open a bit longer in case someone has a smart idea but if not I'll mark as a solution. Thanks for your reply!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |