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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

User Filtered Clients as filter

Hi all,

 

I need help with this.

 

I have a PowerBI Tab with client id table and some slicers(date, country, product...).

 

I want to filter clients table and use this clients to calculate some measures in other tab i.e. how many clients  were existing clients before x time period and bought me product y....

 

I thought drillthrough would be useful for this but is not working because you can't drill with multiple clients.

 

Any support?

 

Thank you!

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

Hi  @Anonymous ,

I created some data:

vyangliumsft_0-1636960481795.png

Here are the steps you can follow:

1. Create Calendar

DateTable =
CALENDARAUTO()

vyangliumsft_1-1636960481798.png

2. Create measure.

existing clients =
var _min=MIN('DateTable'[date])
return
CALCULATE(COUNT('Table'[ID]),FILTER('Table','Table'[date]<=_min&&'Table'[Buy]="YES"
))

3. Result:

Use [Date] of the calendar table, [country] and [product] of the table as the slicer

vyangliumsft_2-1636960481800.png

 

Best Regards,

Liu Yang

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

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous ,

I created some data:

vyangliumsft_0-1636960481795.png

Here are the steps you can follow:

1. Create Calendar

DateTable =
CALENDARAUTO()

vyangliumsft_1-1636960481798.png

2. Create measure.

existing clients =
var _min=MIN('DateTable'[date])
return
CALCULATE(COUNT('Table'[ID]),FILTER('Table','Table'[date]<=_min&&'Table'[Buy]="YES"
))

3. Result:

Use [Date] of the calendar table, [country] and [product] of the table as the slicer

vyangliumsft_2-1636960481800.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

amitchandak
Super User
Super User

@Anonymous , Yes, As of now you can not drill through with multiple values,

 

You can try sync slicer and navigation button

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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