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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
peatel
Frequent Visitor

Matrix Visual with more than one row entry, but without herarchy and with grand total

Hi,

 

i'm still trying to use the matrix visual and avoid to pivot on data layer and then using the normal table visual.

I have read some entries made by users who had issues with some usage of that matrix in the past, but i'm curious whether there are new options today to resolve them.

 

So my scenario is the following:

 

I have the task to create a turnover report by brand and day. The customer wants to see the dates in vertical, the brand turnover each horizontaly. Day is based on a marked day table.

The issue is, that the customer wants me to include also the weekday name

peatel_0-1705674069046.png

So, by using the matrix visual, I have some options, but each of them comes with a disadvantage.

 

1. Put both fields on "rows" panel in the Visual. One has to disable stepped layout and disable row subtotals and drill to the lowest level. Otherwise the format looks horrible and there is no need to see a subtotal on level weekday, date, because it's the same entity and weekday only an additional information. Unfortunately in this case the grand total is missing as well.

 

2. Having only one item in "rows" panel, then the layout looks OK, but the weekday is missing.

peatel_1-1705674362711.png

3. Add a custom column by concatenating weekday and date. Then the visual does not work because the Date table field is not the correct one and I have a year to year comparison in the visual, so I need a proper date field.

 

I'm wondering if there is a best  practice to solve this in 2024 .  🙂

 

Thank you very much in advance.

 

2 ACCEPTED SOLUTIONS
audreygerred
Super User
Super User

Hello! You don't have to disable row subtotals in their entirety - you can choose which items you don't want the subtotal on, that way you do get to keep your total row. As far as turning off stepped layout and disabling specific subtotals - it only needs to be done once when you develop the report, so it won't negatively affect the consumer's experience.

Here is an example with all the subtotals on: 

audreygerred_0-1705676896855.png

 

Here it is with them off, but grand total still shows:

audreygerred_1-1705677024102.png

To achieve this, expand Row subtotals (and leave it set to on), when you expand you will see the option to apply settings to per rows level - turn this on:

audreygerred_2-1705677097768.png

Next, select the bottom item that appears in the row level drop down and below it you will see a box with Rows - Show subtotal - turn this off. Basically - if all you want is the grand total showing, turn off everything in the row level except for the first item in the list.

audreygerred_3-1705677204938.png

In my example, I have Day, Month, and Quarter off, this leaves me with the grand total row (which I have at the top for ease of seeing it quickly, but you can leave it at the bottom).

 




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

Proud to be a Super User!





View solution in original post

Hello! You are welcome! You can turn the +/- off in the Row headers formatting.

audreygerred_0-1705682544264.png

My visual does not have the +/- turned on: 

audreygerred_1-1705682570496.png

 




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

Proud to be a Super User!





View solution in original post

3 REPLIES 3
peatel
Frequent Visitor

Hi,

thank you very much. It works exept the fact that now the user can use the -/+ node with the effect that the workday is displayed or not. Not really nice, but acceptable.

peatel_0-1705680122811.png

peatel_1-1705680144095.png

 

Again, thanks a lot for the quick support 🙂

Hello! You are welcome! You can turn the +/- off in the Row headers formatting.

audreygerred_0-1705682544264.png

My visual does not have the +/- turned on: 

audreygerred_1-1705682570496.png

 




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

Proud to be a Super User!





audreygerred
Super User
Super User

Hello! You don't have to disable row subtotals in their entirety - you can choose which items you don't want the subtotal on, that way you do get to keep your total row. As far as turning off stepped layout and disabling specific subtotals - it only needs to be done once when you develop the report, so it won't negatively affect the consumer's experience.

Here is an example with all the subtotals on: 

audreygerred_0-1705676896855.png

 

Here it is with them off, but grand total still shows:

audreygerred_1-1705677024102.png

To achieve this, expand Row subtotals (and leave it set to on), when you expand you will see the option to apply settings to per rows level - turn this on:

audreygerred_2-1705677097768.png

Next, select the bottom item that appears in the row level drop down and below it you will see a box with Rows - Show subtotal - turn this off. Basically - if all you want is the grand total showing, turn off everything in the row level except for the first item in the list.

audreygerred_3-1705677204938.png

In my example, I have Day, Month, and Quarter off, this leaves me with the grand total row (which I have at the top for ease of seeing it quickly, but you can leave it at the bottom).

 




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

Proud to be a Super User!





Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.