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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Sales for only Reps who have reached a certain status at any point

Hi,

I have some sales data where I want to focus on those sales reps who hit a Tier 1 status at any point in their tenure.  I think I need two measures to calculate the sales for that rep and the duration that they have been active.

 

I know I could use a slicer but I really need the space so I was hoping to use two measures and filter the data to only show reps who ever hit tier 1 status (at any point).

 

I am trying to create a measure using a filter to isolate only those reps but I keep running into the fact that I am using a text field to filter this.   Is there an easy way to do this?  Thanks

 

 

Sales RepyearStart DateOld TierNew TierAmount
A20206/1/2020431000
B20211/1/2021331000
C20211/1/2021231000
D20211/1/2021431000
A20221/1/20223110000
B20221/1/2022321000
      
      
Result SalesA   11000
Result DurationA   1.5 Years

 

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

Hi, @Anonymous ,

You could add a card visual ,then put amount column in it.

Then filter the column is"A".

vyalanwumsft_0-1657529336087.png

The final show:

vyalanwumsft_1-1657529350115.png

As duration, you could create a measure.

Duration = ( CALCULATE(DATEDIFF(MIN('Table'[Start Date]),MAX('Table'[Start Date]),MONTH),FILTER(ALL('Table'),[Sales Rep]="A"))-1)/12 &"Years"

The final show:

vyalanwumsft_2-1657529399391.png


Best Regards,
Community Support Team _ Yalan Wu
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-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ,

You could add a card visual ,then put amount column in it.

Then filter the column is"A".

vyalanwumsft_0-1657529336087.png

The final show:

vyalanwumsft_1-1657529350115.png

As duration, you could create a measure.

Duration = ( CALCULATE(DATEDIFF(MIN('Table'[Start Date]),MAX('Table'[Start Date]),MONTH),FILTER(ALL('Table'),[Sales Rep]="A"))-1)/12 &"Years"

The final show:

vyalanwumsft_2-1657529399391.png


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

Anonymous
Not applicable

Thanks!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors