Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
How can I create a summary table from a fact table that return only the Row with the Max Date for each set of criteria?
Here is what I have so far, but I I haven't been able to get just the Max Date.
Solved! Go to Solution.
Data Summary =
var a = SUMMARIZE(
Data,
[Co],
[Division],
[Region],
[District],
[Center],
[Date],
[Amount]
)
RETURN MAXX(a,[Date])
Veja se ajuda
Tabela2 =
SUMMARIZE(
Tabela,
[Co],
[Division],
[Region],
[District],
[Center],
"Date", MAX(Tabela[Date])
)
Data Summary =
var a = SUMMARIZE(
Data,
[Co],
[Division],
[Region],
[District],
[Center],
[Date],
[Amount]
)
RETURN MAXX(a,[Date])
| User | Count |
|---|---|
| 53 | |
| 41 | |
| 32 | |
| 15 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 72 | |
| 37 | |
| 27 | |
| 24 |