Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Have a folowing formula
MTD Sales:=TOTALMTD(SUM(F_Delivery_Note[DELNL_TotalGrossSqm]),D_Date[LINK_Date])
Which gives me almost expected results.
Trouble only with last marked by red days. Result for those days should blank.
Solved! Go to Solution.
Hey
your formula should look like this
MTD Sales:=IF(
NOT(
ISBLANK(
SUM(F_Delivery_Note[DELNL_TotalGrossSqm])))
,TOTALMTD(SUM(F_Delivery_Note[DELNL_TotalGrossSqm]),D_Date[LINK_Date])
,BLANK()
)
A quick solution would be to put your calculation into an if statement, that checks if your measure is not null like this
IF(NOT(ISBLANK(sum of your measure)), your calculation, BLANK())
You have to consider that this formula also surpresses the calculation for days where there is no data, for a business reason.
Hello @TomMartens
Result of
MTD Sales:=IF(NOT(ISBLANK(TOTALMTD(SUM(F_Delivery_Note[DELNL_TotalGrossSqm]),D_Date[LINK_Date]))),TOTALMTD(SUM(F_Delivery_Note[DELNL_TotalGrossSqm]),D_Date[LINK_Date]),BLANK())
returned the same result as it was from the beginning.
Hey
your formula should look like this
MTD Sales:=IF(
NOT(
ISBLANK(
SUM(F_Delivery_Note[DELNL_TotalGrossSqm])))
,TOTALMTD(SUM(F_Delivery_Note[DELNL_TotalGrossSqm]),D_Date[LINK_Date])
,BLANK()
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |