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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
vikramsharma18
Frequent Visitor

Advanced Matrix

Is this matrix Possible. Here are the Rows values of Net Sales, covers, Average Spend per hour, Provisional Labour Cost, % Of Sales, and Provisional Labour Hours.
Columns Will be Mon to Sun and WTD, Last Year's WTD, Variance with Last year's WTD,% of Variance with Last year's WTD, WTD Budget, Variance with WTD Budget,% of Variance with WTD Budget.
How to Solve this?

vikramsharma18_0-1665776039024.png

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @vikramsharma18 ,

 

There are several approaches to your use case

  • calcualation groups
  • field parameters
  • a custom visual (there is one but needs subscription if used in the web based on the number of users)
  • or some advanced DAX with the use of disconnected tables and several to a handful measures -  i used to have actual similar use cases in the past the solution wasn't exactly the fastest.  Here's a screenshot of what I did danextian_0-1665826486580.png

    I can't share with you the pbix as the data is confidential and the solution took some time to come into fruition. But here's a sample pbix of a similar but very simple use case.  https://1drv.ms/u/s!AqxKG9R1145foQvISJkkuSEpEUQy?e=5YwIdj 
    Notice in that first column chart below the total is one of the columns. The second chart is how it is normally done.

    danextian_1-1665826699503.png




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

4 REPLIES 4
danextian
Super User
Super User

Hi @vikramsharma18 ,

 

There are several approaches to your use case

  • calcualation groups
  • field parameters
  • a custom visual (there is one but needs subscription if used in the web based on the number of users)
  • or some advanced DAX with the use of disconnected tables and several to a handful measures -  i used to have actual similar use cases in the past the solution wasn't exactly the fastest.  Here's a screenshot of what I did danextian_0-1665826486580.png

    I can't share with you the pbix as the data is confidential and the solution took some time to come into fruition. But here's a sample pbix of a similar but very simple use case.  https://1drv.ms/u/s!AqxKG9R1145foQvISJkkuSEpEUQy?e=5YwIdj 
    Notice in that first column chart below the total is one of the columns. The second chart is how it is normally done.

    danextian_1-1665826699503.png




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Good post! The easiest way for him would be calculation groups, it's also the one solution which requires the least effort and no custom visuals.

lukiz84
Memorable Member
Memorable Member

Possible with calculation groups where you add "Mon", "Tue", ... "Week to date", "Last year WTD" ,... "var %" as calculation items for your Measures ([Net sales], [Covers] and so on).

 

See Calculation Groups - SQLBI

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.