Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Starting 4/10/2017, reporting which has been in place for weeks has now started handling nulls incorrectly. Power BI is replacing nulls from the tabular cube with values (either zero, or with the values from another attribute all together). See screenshots.
The Dax formula used to create the MonthTrend is below. I had to update the original formula to change nulls to zeros so reporting would be accurate.
Original Formula
MonthTrend:=TOTALMTD(sum(Fact_Sales_Target[ActualUSDGross]),Dim_Date_Target[Date],Dim_Date_Target[Date]<datevalue(now()-6/24))/max(Fact_Sales_Target[MonthBusDaysElapsed])*max(Fact_Sales_Target[MonthBusDaysTotal])
Updated Formula to replace null with zero
MonthTrend:=if(TOTALMTD(sum(Fact_Sales_Target[ActualUSDGross]),Dim_Date_Target[Date],Dim_Date_Target[Date]<datevalue(now()-6/24))=0,0,TOTALMTD(sum(Fact_Sales_Target[ActualUSDGross]),Dim_Date_Target[Date],Dim_Date_Target[Date]<datevalue(now()-6/24))/max(Fact_Sales_Target[MonthBusDaysElapsed])*max(Fact_Sales_Target[MonthBusDaysTotal]))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.