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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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