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
rampsaladi
Frequent Visitor

Dynamic Rank per Product in Time Period

Hi 

 

I need to be help create a Rank column. I need to be able to generate the rank in the context of the Time Period for the Products based on the Amount and This rank will be in the context of the Market where the market acts as a slicer. I added the sample data and the rank. The DAX I created always gives me a rank 1.

 

MarketsProductTime PeriodAmtRank
NorthALast 52 Weeks11
NorthBLast 52 Weeks22
NorthCLast 52 Weeks33
NorthDLast 52 Weeks44
NorthELast 52 Weeks55
NorthFLast 52 Weeks66
NorthALast 13 Week115
NorthBLast 13 Week124
NorthCLast 13 Week46
NorthDLast 13 Week3242
NorthELast 13 Week323
NorthFLast 13 Week34341
NorthALast 26 Weeks106
NorthBLast 26 Weeks344
NorthCLast 26 Weeks135
NorthDLast 26 Weeks4324321
NorthELast 26 Weeks34232
NorthFLast 26 Weeks1243
NorthALast 4 Weeks15
NorthBLast 4 Weeks42
NorthCLast 4 Weeks71
NorthDLast 4 Weeks24
NorthELast 4 Weeks33
NorthFLast 4 Weeks06

 

Any Help is appreciated.

11 REPLIES 11

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.