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

How can I show latest Price, with DAX?

Hello,

 

I have some sample data below the prompt. I have to create a dax measure from this, any thoughts? Thank you!

 

 

  • Customer's Latest Price for specific item in the last 180 days

  • If latest price is less than the Retail Base Price (which is column from seperate tabe), then show the Retail Base price.

  • If price is blank (as having no sales history in  last 180 days), then show Retail List Price.

  • If customer's latest price (or product of this formula) is greater than Retail List Price (column from seperate table), show Retail List Price.



Customer_NoItem_NoUnit_PriceInvoice_NoDue_Date
C1101x11$275.0068674/2/2021
C1099co22$250.0068684/2/2021
C1101x14$259.0068423/30/2021
C1099c200$189.0068213/26/2021
1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

The description is not very detailed.

Can you share a sample pbix and expected result here?

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (25)