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
ToddMate
Helper II
Helper II

Use a filter to determine column headers in a matrix (Monthly values / Weekly values / Daily values)

Hi,

 

I have a situaton where the business wants to report on Monthly sales (Month vs Month), Weekly Sales (Week vs Week) and Daily Sales.

I can easily achieve this using the calander which contains a End of Month, End of Week and Date value (based on the sales date) and then used a Matrix with either End of Month or End of Week or Date as the Column header and Products as the Rows and a count to provide the value.

 

However at the moment i need to create 3 Matrix tables to support a Month on Month view, Week on Week view or Daily view.

 

Is there a way that using a filter or the like that i can select the reporting period (Monthly, Weekly or Daily) and change the column headers based on the selected option and have only a single Matrix? (The rows and counts will remain the same, its just the column header values)

 

I have attached a sample screenshot of the Monthly and Daily views which i would like to combine into one and use a filter.

 

Any help would be appreciated.

 

Todd

 


Capture7.JPG

 

 

1 ACCEPTED SOLUTION

Hi,

I dont think i can solve any of those 2 questions.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

In the Matrix visual, drag Day, Week and Month from the Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur ,

 

That suggestion works, but can i ask a few questions.

 

Is there an alternate way, ideally via a Slicer / Filter to toggle between Monthly, Weekly or Daily column headers. Currently the only way i can see to move between them is using:

 

Capture8.JPG

 

Further to this, as my dates go back to 2014 is there a way to set a filter on only the last 10 (latest) dates in that view (i.e. it would only show the last 10 months, 10 weeks or 10 days when selected.)

 

Sorry for the questions, i'm relatiovely new to this and am struggling to achieve this outcome.

Hi,

I dont think i can solve any of those 2 questions.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.