Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
i need some help With a measure for a cumulative
i have a table like this:
date Discription balance
01-01-22 kbkadjbsakjdb 25,00
01-01-22 jfdjksdjlksdfnh 50,00
01-01-22 lkjsdffnjksdf -70,00
02-01-22 lsjkdnflk 30,00
03-01-22 jsjkzf -33,85
03-01-22 lknslkdf 40,00
04-01-22 lkdfsnlksdf 80,00
i have a relation with a calender table to my fact table
many thaks
Something like that, try and say if it works.
CALCULATE(
SUM(table[balance],
DATESBETWEEN(CALENDAR[DateKey],date(2022,1,1),date(2021,1,1)
)
that does'nt work if used this measure without the breakdown:
hi @Anonymous
supposing your want to add up on date, try to plot a visual with date column and a measure like:
measure =
CALCULATE(
SUM(data[balance]),
data[date]<=MAX(data[date])
)it worked like:
it that so?
I need al the data in the tabel that i made in my exmaple i already have the measure for cumulative on date but i need another one for the breakdown on discription base. because of the breakdown i could have thee same day multiple times
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 7 | |
| 5 |