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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
mrafiqahmed
New Member

Matrix Report - Multiple columns

Hi,

 

I'm developing a matrix report in which I have added 2 fields 'weekname' and 'probability' under columns. I expect it would group by 'weekname' first followed by group by 'probability'. But, it groups by 'weekname' only and ignores 'probability'.

 

What I would like to see is like this

 

                  1st Week                    |                  2nd Week

10      20      40      60      80         | 10      20      40      60      80

 

How can I achieve this?

 

TIA

Rafiq

4 REPLIES 4
amitchandak
Super User
Super User

@mrafiqahmed , if these are relative weeks then you need to do senmentation.

SEGMENTATION

https://www.daxpatterns.com/dynamic-segmentation/
https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-po...
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization

 

If these are year week, refer

https://community.powerbi.com/t5/Community-Blog/Any-Weekday-Week-Decoding-Date-and-Calendar-2-5-Powe...

https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Hey @mrafiqahmed,

Try 3 different solutions:

1. Use Matrix table and then drop your fields at the columns field:  Week name -> Probability

2. Try to create hierarchy: Week name -> Probability(if possible)

3. you can try the custom visual: Acterys Matrix Light

another solution that I found in the web:

https://wessexbi.wordpress.com/2014/02/27/unpivot-nested-headings-with-power-query/

Ariel

Thanks @Anonymous . Acterys Matrix looks good. But, it doesn't support conditional formatting? I want to change the text color based on some condition.

 

Thanks

Rafiq

Hi @mrafiqahmed , 

I am not clear about your requirement of conditional formatting,  if possible, could you please inform me your expected output and sample data? By the way, you could refer to desktop-conditional-table-formatting  for details.

Please do mask sensitive data before uploading.

Best Regards,
Zoe Zhi

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

 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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