Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Trend pivot table with ignoring date filter

Hello Folks!

 

I have data source like this:

pjirach_0-1614595606891.png

I plan to use Matrix to produce pivot table like this:

pjirach_1-1614595646493.png

Currently, I can adapt the instruction in PowerBI: Stacked Column Chart using only measures (linkedin.com) to build trend pivot chart with column name like that.

 

However, I have page filter which is the month of data as well. When I don't select all month, it will show either Feb or March only. I tried to adapt DAX to create calculation like CALCULATE(calculation, ALL(MONTH)) from Removing Page level filter for just 1 visualizatio... - Microsoft Power BI Community. But it's still depending on the page filter. Do you have any solution on that?

3 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , I think you have to unpivot column A,B,C and then use them in Matrix

 

https://radacad.com/pivot-and-unpivot-with-power-bi

View solution in original post

v-yuaj-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, I also advise you to unpivot all "A","B"and "C" columns in Power Query Editor and then use it to create a new matrix. What's more, is the date value on the page filter the value in the table you provided above? Is it related to the content of the form you provided? You can try to delete the relationship and create the matrix.

Result:

v-yuaj-msft_0-1614738957876.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Anonymous
Not applicable

Thanks! It works 🙂

View solution in original post

3 REPLIES 3
v-yuaj-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, I also advise you to unpivot all "A","B"and "C" columns in Power Query Editor and then use it to create a new matrix. What's more, is the date value on the page filter the value in the table you provided above? Is it related to the content of the form you provided? You can try to delete the relationship and create the matrix.

Result:

v-yuaj-msft_0-1614738957876.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , I think you have to unpivot column A,B,C and then use them in Matrix

 

https://radacad.com/pivot-and-unpivot-with-power-bi

Anonymous
Not applicable

Thanks! It works 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.