Forum Discussion
Max value based on filter
- 4 years ago
Hi all
Thanks for your comments. I managed to find a solution for my problem
In a measure variable,
#Meas =
CALCULATE(
MAXX(
SUMMARIZE(Table1,Table1[Measurement Type],Table1[Machine],"Count",COUNT(Table1[Qty]))
,[Count]
),ALLEXCEPT(Table1,Table1[Measurement Type],Table1[Machine]))
Hi,
According to your description, I can roughly understand your requirement, I think you can achieve this using the slicers in the Power BI and the visual TOPN filter:
You can create two slicers to place the field [Measurement Type] and [Machine] and a table chart to place the columns within the table, then you can set the visual filter as “TOPN” for the table chart like this:
And you can get what you want.
You can download my test pbix file below
If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.
How to Get Your Question Answered Quickly
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.