Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
This is my table:
For each "No", I want to get the value of column "Data" that is non-blank.
For example, for "No" = 1203210:
That value would be 30/04/2016
And for "No" = 1202547:
The value would be: 31/01/2017.
Thus, the results I'm expecting are supposed to be shown on an additional calculated column:
Solved! Go to Solution.
@webportal , Try like
maxx(filter(Table, [No] =earlier([No]) && not(isblank(Table[Class]))),[Date])
I need a CALCULATED COLUMN.
That expression returns an error when typed into a calculated column: "A circular reference was detected..."
@webportal , Try like
maxx(filter(Table, [No] =earlier([No]) && not(isblank(Table[Class]))),[Date])
That's a lot better!
It also works with an intermediate table 😉
@webportal , You can try measures like
Measure =
VAR __id = MAX ('Table'[No] )
VAR __date = CALCULATE ( MAX('Table'[date] ), ALLSELECTED ('Table' ), 'Table'[No] = __id , not(isblank(Table[Class])))
RETURN CALCULATE ( Max ('Table'[date] ), VALUES ('Table'[No] ),'Table'[No] = __id,'Table'[date] = __date, not(isblank(Table[Class])) )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
152 | |
120 | |
102 | |
87 | |
68 |