Forum Discussion
Pivot/Unpivot Data
- 4 years ago
Hi, ethanlsaul ;
You could use pivot it.and the seting as follow:
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- ethanlsaul4 years ago
Helper I
Hi GilbertQ,
Thanks for replying. It worked, sort of!
Do you know how i would go about replacing the blanks with 0's. The tricky part here is that the data isn't null for the missing column. 3rd row, 2nd line-- there isn't a line that contains anything in the raw data for that plant + item combo. I think it needs some sort of measure, but i have failed all week to figure it out. I wrote it here: Missing Data in inputs resulting in blanks on Matr... - Microsoft Power BI Community
- GilbertQ4 years ago
Super User
Hi ethanlsaul
What you could do is to create a measure and where it finds a blank to replace it with zero as shown with the example below
Qty (With Zeros) = IF(ISBLANK('Table Name'[Qty]),0,SUM('Table Name'[Qty]))- ethanlsaul4 years ago
Helper I
Not exactly-- it seems like in the field after isblank it needs another measure, which i dont have.