March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello All,
I have created a grid below, with follwing measures
Max 5yr Dollar Price = MAX(DOLLAR_PRICE)
Min 5yr Dollar Price = Min(DOLLAR_PRICE)
Diff 5yr Dollar Price = MAX(DOLLAR_PRICE) - Min(DOLLAR_PRICE)
Prct Change 5y Dollar Price = MAX(DOLLAR_PRICE) - Min(DOLLAR_PRICE) / MAX(DOLLAR_PRICE)
I need to rank countries based on Prct Change 5y Dollar Price
Formula I used for Prct Change 5y Dollar Price =
Solved! Go to Solution.
I would make a couple of changes to your measures:
Max 5yr Dollar Price = MAX([DOLLAR_PRICE]) Min 5yr Dollar Price = Min([DOLLAR_PRICE]) Diff 5yr Dollar Price = [Max 5yr Dollar Price] - [Min 5yr Dollar Price] Prct Change 5y Dollar Price = DIVIDE(([Max 5yr Dollar Price] - [Min 5yr Dollar Price]),[Max 5yr Dollar Price],0) Rank = RANKX(ALL('Table24'[Country]),[Prct Change 5y Dollar Price])
All of those are just coding practice changes except for the RANKX.
I would make a couple of changes to your measures:
Max 5yr Dollar Price = MAX([DOLLAR_PRICE]) Min 5yr Dollar Price = Min([DOLLAR_PRICE]) Diff 5yr Dollar Price = [Max 5yr Dollar Price] - [Min 5yr Dollar Price] Prct Change 5y Dollar Price = DIVIDE(([Max 5yr Dollar Price] - [Min 5yr Dollar Price]),[Max 5yr Dollar Price],0) Rank = RANKX(ALL('Table24'[Country]),[Prct Change 5y Dollar Price])
All of those are just coding practice changes except for the RANKX.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
165 | |
116 | |
63 | |
57 | |
50 |