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
Example of my code:
Oct2023 is blank and therefore no value displays. Please advise.
still not working ☹️
Hi @Wagwo0rd4powerb ,
Try replacing blank with 0. via power query if the connection mode supports it.
Best regards,
Community Support Team_ Scott Chang
This also does not work...
3 Months CaseCounQTY Rolling Total = CALCULATE(SUM(MDSProduction[Amount Case Count])+0,
DATESINPERIOD(MDSProduction[Month Year Date],LASTDATE(MDSProduction[Month Year Date]),-3,MONTH))
Hi @Wagwo0rd4powerb ,
Try using the following expression:
3MonthRollingTotal =
CALCULATE(
SUMX(
Table,
IF(ISBLANK(Table[Value]), 0, Table[Value])
),
DATESINPERIOD(
Table[Date],
LASTDATE(Table[Date]),
-3,
MONTH
)
)
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
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.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 31 | |
| 27 | |
| 24 |