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
Shamatix
Post Partisan
Post Partisan

Help with Matrix - Nested rows (Examples given along with .pbix file)

Hi fellow Power Bi users.

 

So I'll do my best to explain my issue and the goal I want to achieve.

I have also attached a .pbix file in this thread so I hope someone can help me out.

 

So what I have is two tables.

The first table (Report_InvoicesReceived) contains customers, more specically how many invoices each customer has received daily of each type.

The second table (Report_Customers) contains the "expected amount" of invoices the customer is to receive during a year of each type.

 

Now I am trying to create a Matrix with 4 columns:

Customer Name
Received Amount
Expected Amount
%

as below:

Shamatix_0-1626478685941.png

However I want to be able to click on Company1 and expand it into the various invoice type such as PDFInvoice, EInvoice and TIFInvoice and then see the specific amounts of the various types in ReceivedInvoices and ExpectedTotalInvoices with the correct percentages. 

I have made this Excel screenshot kind of to illustrate it (Each Tab in the "CustomerName" column just illustrates its expanded down into it:

Shamatix_2-1626478922310.png

 

 

You can download a sample.pbix file on the following link:

https://we.tl/t-Thc4mkU5Y8

 

Last question goes as follows:
How come there are no data bars in the headers but only if I "drill down" ?

Shamatix_3-1626479102954.png

 

I really hope someone can help me out 🙂

 

Best regards

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Select these two columns in the query editor, and then click Unpivoted Other Columns.

Vlianlmsft_0-1626681243277.png

Data Bar does not support displaying in subtotal or total level at the time being.

You can now apply conditional formatting rules to your totals and subtotals in table and matrix visuals. You will be able to find this new option in the Apply to dropdown in the conditional formatting advanced controls dialog. This feature will work for setting background color, font color, icons, and web URL.

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-april-2020-feature-summary/#_Conditional_f... Vlianlmsft_1-1626681355690.png

 

 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Shamatix , For that you need to unpivot three columns Expected - EI, pdf and TI invoices.

 

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

 

Also on Databar conditional formatting - Sub total are not supported yet. Log an idea for that.

I really cant seem to get that to work, by chance you could show me how in the sample file?

Select these two columns in the query editor, and then click Unpivoted Other Columns.

Vlianlmsft_0-1626681243277.png

Data Bar does not support displaying in subtotal or total level at the time being.

You can now apply conditional formatting rules to your totals and subtotals in table and matrix visuals. You will be able to find this new option in the Apply to dropdown in the conditional formatting advanced controls dialog. This feature will work for setting background color, font color, icons, and web URL.

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-april-2020-feature-summary/#_Conditional_f... Vlianlmsft_1-1626681355690.png

 

 

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.