Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Absolute max in visual

Hi guys,

 

Im a bit noob still. I need to see the maximum of e.g. the active users while now it filters to the max of the category selected.

The use case is:

 

I have active users e.g. 5000

I have actions / features the users use e.g. digital signatures, workflow, reporting

What i would like to see is that when i select one of the categories e.g. digital signatures, that it will show 2000 users (out of a total of 5000) in a gauge visual for example. Now it always shows the total of the category, 2000 out of 2000.

 

I have used the following measurement for the users:

active users = DISTINCTCOUNT(Sheet0[loginname])

 

(Sheet0[action]) =the column i use for the actions.

 

Does anyone know what the formula should be to show the absolute max or ignore filtering?

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create measures

min = 0

max = CALCULATE(DISTINCTCOUNT('Table'[user id]),ALL('Table'))

Measure = DISTINCTCOUNT('Table'[user id])

Capture1.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create measures

min = 0

max = CALCULATE(DISTINCTCOUNT('Table'[user id]),ALL('Table'))

Measure = DISTINCTCOUNT('Table'[user id])

Capture1.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Your a boss @v-juanli-msft. It worked!

Thank you so much.

AilleryO
Memorable Member
Memorable Member

Hi,

 

Maybe you should look after the ALL() function ?

like in this discussion :

https://community.powerbi.com/t5/Desktop/ALL-function/td-p/194108

 

A very similar case.

Enjoy

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.