The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need to calculate Top most part based on Max eta(eta is nothing but date coulnm), Please, Can anyone help me
Below output will be required
Solved! Go to Solution.
@Mahmoodul , for date you can use Max - ETA
Comment you can have measure like
Measure =
VAR __id = MAX ('Table'[top_most_part] )
VAR __date = CALCULATE ( MAX('Table'[eta] ), ALLSELECTED ('Table' ), 'Table'[top_most_part] = __id )
CALCULATE ( Max ('Table'[comments] ), VALUES ('Table'[top_most_part] ),'Table'[top_most_part] = __id,'Table'[eta] = __date )
OCB = Sum(Table[OCB])
@Mahmoodul , for date you can use Max - ETA
Comment you can have measure like
Measure =
VAR __id = MAX ('Table'[top_most_part] )
VAR __date = CALCULATE ( MAX('Table'[eta] ), ALLSELECTED ('Table' ), 'Table'[top_most_part] = __id )
CALCULATE ( Max ('Table'[comments] ), VALUES ('Table'[top_most_part] ),'Table'[top_most_part] = __id,'Table'[eta] = __date )
OCB = Sum(Table[OCB])
User | Count |
---|---|
77 | |
76 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
79 | |
57 | |
48 | |
48 |