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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
elenita62
Frequent Visitor

Max of count filter only by UserName

Hello,

 

I have a list of Users Names and all that I need is to obtain the max count value of all time for each one. 

 

Example:

UserName> Elopez 

Qty Jan - 15

Qty Feb - 10

Qty Mar - 22

 

UserName> TMontilla 

Qty Jan - 25

Qty Feb - 30

Qty Mar - 20

 

I need to obtain 

Elopez max qty        22

TMontilla max qty   30

 

And  I dont care if the month is filtered or not.

 

The Qty is a Count distinct measure.

 

 

My expression:

MaxTicketHistorico = CALCULATE(
DISTINCTCOUNT(TicketsPorUsuarios[TicketID]), ALLSELECTED(TicketsPorUsuarios[MesInicio]))

 

But when I filter by date the MaxTicketHistorico shows filtered values.

 

 

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

@elenita62

 

hi, one way is disable the interaction between slicer and table visual with your Max info.

 

editinteractions.png

 

 




Lima - Peru

It does not apply to my case...

 

Any way thank you for your help

Hi @elenita62,

Could you please post the whole sample data of your tables so that we can test it?


Thanks,
Lydia Zhang

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.