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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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