Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Afternoon,
Wondering if anyone has come accross this before.
I have a data set which is a list of figures across mutiple dates and I need to calculate the Low Mode Average, Mode Average and High Mode Average of the prices listed on a specific date.
I have the calculation for the mode average which is just the standard process;
Mode Avg Price 1408 = CALCULATE( MINX ( TOPN ( 1, ADDCOLUMNS ( VALUES ( All_data[prices] ), "Frequency", CALCULATE ( COUNT ( All_data[prices]) ) ), [Frequency], 0 ), All_data[prices] ), DATESBETWEEN(All_data[recorded_date].[Date], DATE(2019,08,14), DATE(2019,08,14)) )
Which as intended, returns the mode average price overall, on the 14th August.
How would you then return the mode average for the lowest and highest prices.
My logic is anything above [Mode Avg Price 1408] is a High Price and anything below is a Low Price.
How though in the mode calculation, for the low and high, would you add that filter that the All_data[prices] to be included has to be smaller than or greated than the [Mode Avg Price 1408] figure?
Thanks
Hi @Anonymous ,
Do you solve the problem? If yes, please mark the helpful answer as a solution. You could share your own solution to us. More people will find the answer quickly and benefit from here. If not, you could share a dummy file or some screenshots to make us understand clearly.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I'm not sure I got you. You want compare the values and [Mode Avg Price 1408]. If the values is bigger, it will show High Mode Average. Otherwise, it will show Low Mode Average. Do I understand correctly? If so, you could try to create a formula with the function of IF to implement it.
Measure = IF(SUM('Table'[Profit])>=[AVERAGE],"High","Low")
Currently, it is unavailable to compare a measure in the filter pane. It is only supported to input specific numbers. So if we want to do it, we need to create formulas to implement.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Apologies for the delay in responding, had an issue receiving the email notifications.
Kind of but for the collection of "high" or "low" prices, I need to calculate the mode of those figures.
So as an example like the below;
data | ||
6 | 6 | Low Mode |
6 | ||
9 | ||
25 | ||
32 | ||
35 | ||
35 | 35 | True Mode |
35 | 80 | High Mode |
60 | ||
80 | ||
80 | ||
94 | ||
97 |
Numbers are obviously fabricated but hopefully puts across what I mean as an illustration.
any help would be greatly appreciated, the immediate need to calculate has passed but I would like to know for the future so I have it resolved when required again.
Kind Regards
User | Count |
---|---|
116 | |
73 | |
62 | |
50 | |
46 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |