Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I want to create a measure that allows me to show data on the chart based on which Total QTy -> Fcst or SH grouped by Key is greater.
Table I have:
I want to group it by Key and compare Totals by Type
Result
Chart:
Thank you for any help!
@arutsjak90 , Try
maxx(summarize(Table, Table[Key], Table[Type], "_1", sum(Table[Qty])),[_1])
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
10 | |
6 |