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

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

Reply
hcr4
Frequent Visitor

Stop time period field from affecting first sale date measure

I created a measure which when used with a 'Products' filter gives me a single value of the first date that any product x was sold to any customer y in table. If I add 'Period' to the table, I then get the values for the first date that product x was sold to customer y within each of those periods as below:

 

hcr4_0-1653344367173.png

I want to avoid this. I want the values for the measure across these periods to be repeated as duplicates of the very first sale date of product x to customer y, not the first sale date within those periods (or weeks, months, years etc). So in this case the date '08/03/2019' would be repeated across the periods. Is there an easy way to do this?

 

Thank you.

1 REPLY 1
tamerj1
Super User
Super User

Hi @hcr4 
You can add REMOVEFILTERS ( DateTable ) inside CALCULATE

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.