Forum Discussion
Anonymous
4 years agoNot applicable
Variance Analysis where Current Month data is blank
Hi All, Thank you in advance for helping me. I've been using BI for a year or so, and I'm finally getting to create some interesing conent. My latest roadblock is in how to calculate variance anal...
v-chenwuz-msft
4 years agoCommunity Support
Hi Anonymous ,
Revenue Actual = CALCULATE([Total Revenue],FILTER(DataVersion, 'DataVersion'[DataVersion]="Actual"))
Revenue SPLY = CALCULATE([Total Revenue],SAMEPERIODLASTYEAR('Dates5'[Dates]),FILTER(DataVersion, 'DataVersion'[DataVersion]="Actual"))
In my opinion, C & D have no rows in the fact table rathen have some rocords with the sales value is 0. So the filte context of this c & d always blank.
Workaround,
1 add rows with C & D in fact table and value is 0
2 add if() outside these colunm to make sure it not be blank.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.