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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
NavaneethaRaju
Helper IV
Helper IV

Find the Latest Order date in the selected date range for Tag ID

Hi, 

I want to display the last order date for tag id with in selected date range.

Figure 1: Month MAY

NavaneethaRaju_0-1660628208744.png

 

 

Month : April

NavaneethaRaju_1-1660628208751.png

 

 

 

with respective of the selected month, should show only one record in a month for a Tag ID's

 

Please advice , measure or calculated column.

5 REPLIES 5
Dhacd
Resolver III
Resolver III

Hi @NavaneethaRaju ,

Just write a max measure.

 

LastOD= max(table[Order Date])

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

Thanks and Regards,
Atma.

 

Hi @Dhacd ,

I used your measure its working fine. thank you. 
And one more issue, i want to show the account name. while using account name from separate table(Account Dim) again its showing all the dates and data. 

NavaneethaRaju_0-1660638070354.png

 

 

Actutally it should show only these marked three.

NavaneethaRaju_1-1660638197106.png

This is the relationship, Please advice as soon as you can.

NavaneethaRaju_2-1660638318515.png

 

Is the bidirectional relationship required there for any reason?
can you try changing the flow from account details to the fact table?

Regards,

Atma.

Hi @Dhacd ,

 

I tried both and single directional, its not showing exactly on that date which account has used. is there any way to find the dynamic ranking - like respective of selected date which the max order date, we ranking from 1 to end and can we apply filter 1 in visual level. 
I have a idea, but i'm not good in ranking measures.

@NavaneethaRaju 
You can restrict it with measures. If it is okay can you share the pbix by using wetransfer.com
So that I can take a look.

Helpful resources

Announcements
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!

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 Solution Authors