Forum Discussion
Highest Basket (Receipt) Value
- 8 years ago
Try this MEASURE
Measure = VAR MaxAmount = MAXX ( ALLSELECTED ( Table1[Receipt No.] ), CALCULATE ( SUM ( Table1[Amount] ) ) ) RETURN CALCULATE ( FIRSTNONBLANK ( Table1[Receipt No.], 1 ), FILTER ( ALLSELECTED ( Table1[Receipt No.] ), CALCULATE ( SUM ( Table1[Amount] ) ) = MaxAmount ) ) - 8 years ago
Its there in the variable of the above MEASURE
MaxAmount = MAXX ( ALLSELECTED ( Table1[Receipt No.] ), CALCULATE ( SUM ( Table1[Amount] ) ) )
Genius, at least to me. I wasted the half of my Sunday figuring this out. Thanks again dear Zohaib. Appreicate if you could share some pointers to me to improve by BI.
Don't worry ......With time you will get to grip with Power BI.....
Here are some tips :smileyhappy:
1) Start solving the problems in this forum
2) Read the books...Following are some good books
- Zubair_Muhammad8 years ago
Community Champion
Also subscribe to following Power BI blogs and sites... and follow the posts/articles published there
www.powerpivotpro.com by @avisingh and Rob Collie
www.daxpatterns.com by @AlbertoFerrari and @marcorusso
www.sqlbi.com by abovegentlmen
https://exceleratorbi.com.au/exceleratorblog/ by @MattAllington
https://www.excelguru.ca/blog/ by @KenPuls
http://www.ashishmathur.com/knowledge-base/ by @Ashish_Mathur
- shakirkhanani8 years ago
Helper I
Thank you so much Zohaib for the tips and the books, will definitely check them out.