Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
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 |
---|---|
88 | |
74 | |
69 | |
59 | |
56 |
User | Count |
---|---|
40 | |
38 | |
34 | |
32 | |
28 |