Forum Discussion
Matrix- Month and Date missing when no data!
Hi All,
I have a matrix table where there are values in each month and year (Cumulative). Made a fake example in excel below.
When I filter to a specific team that has no data in the month then the column dissapears. I want to display the whole 12 months regardless if we have no values in them. The option to display values with no data is missing too :S
I am using this formula for the values in the matrix:
Jitmondo , In this case, if you are using month year from date table, You should get all the month
or add +0
Cum_Weighted_Pipeline = CALCULATE(SUMX('Opportunity','Opportunity'[Weighted Pipeline]), FILTER(ALL('Dates'),'Dates'[Date]<=MAX('Dates'[Date]) && (YEAR('Dates'[Date])>=YEAR(TODAY())))) +0
2 Replies
- amitchandakSuper User
Jitmondo , In this case, if you are using month year from date table, You should get all the month
or add +0
Cum_Weighted_Pipeline = CALCULATE(SUMX('Opportunity','Opportunity'[Weighted Pipeline]), FILTER(ALL('Dates'),'Dates'[Date]<=MAX('Dates'[Date]) && (YEAR('Dates'[Date])>=YEAR(TODAY())))) +0
- JitmondoHelper III
Thanks for coming back to me I used a measure from the below post - Result with Zero = VAR Result = [Cum_Weighted_Pipeline] return IF(result,result,0)
This combined with the original formula locked down the table 🙂
https://community.powerbi.com/t5/user/viewprofilepage/user-id/55216