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.
Hi Everyone,
I am facing issue to get max value using measure. I have 98 locations, 16 District and 3 regions,
I want to get max value by District which is merged into 8 groups
I want to get potential Gross Profit = (MTD Sales/MTD Traffic) * Max Value By District Group
Bi & Database File = https://mega.nz/#F!TfAE2AZI!wWsZzeNUmVzfMC0yy5ROXwhttps://mega.nz/#F!TfAE2AZI
thank you
HI @Anonymous .
I' like to suggest you create a measure formula with variable and summarize function to summary these records, the use iteration function maxx to get max one from summarize records.
Regards,
Xiaoxin Sheng
@v-shex-msft Sorry I didn't understand if you share some Dax code may b that work
My Question and simple data
Update link: https://mega.nz/#F!TfAE2AZI!wWsZzeNUmVzfMC0yy5ROXw
I have traffic value for how many customers visit my 98 store and Sales numbers.
I divided sales (SBI) by traffic to get Revenu per Traffic (RPT)
I have 16 districts which combine in 8 groups.
I want to get the highest RPT value by a group and multiply with traffic to get = Potential Gross Profit
Hi,
That link asks for a decryption key. Share a simple dataset, describe the question and show the expected result.
@Ashish_Mathur Update link: https://mega.nz/#F!TfAE2AZI!wWsZzeNUmVzfMC0yy5ROXw
I have traffic value for how many customers visit my 98 store and Sales numbers.
I divided sales (SBI) by traffic to get Revenu per Traffic (RPT)
I have 16 districts which combine in 8 groups.
I want to get the highest RPT value by a group and multiply with traffic to get = Potential Gross Profit
hope that works.
Hi,
Try this measure
hi @Ashish_Mathur i use your measure but don't match with my excel version requirement values are wrong.
@Anonymous
Hi, try using this
MAX RPT = MAXX(All(Locations[Location_Id]),[RPT])
Regards
Victor
Lima - Peru
Hi, @Vvelarde thank you for contribution.
that measure get correct Max Value
But there is one issue. What do I want the location we assigned in a group. that particular Max value of that group Applies to their sub-locations.
thank you
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
78 | |
68 | |
55 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |