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
4660042674
Frequent Visitor

Need a visual that's a combination of two visuals - 1) matrix and 2) a mutli-row card

Maybe I'm overlooking the capabilities of some of the currently available visuals or I'm trying to use PBI for something it isn't intended to do.  Here's the issue.  

 

We have some data that we're trying to expose to users.  There's no manipulation of the data, we're just trying to get some data off a whiteboard and onto a display.  If we were to start with a Matrix visual, in columns would be "ship date" and in rows would be "driver".  In the "values" section of the Matrix (I'll refer to this as Part 2), there would be multiple fields displayed like trailer #, commodity, and delivery city.  I've mocked it up in Excel and added a screenshot. 

 

The matrix doesn't allow this or I can't figure out how to get it done.  Part 2 can be done in a Multi-row Card but you can't use a visual inside a visual, to my knowledge.  I took a look through the custom visuals.  Nothing jumped out that would meet the requirements. 

 

Any ideas? 

  Mockup.PNG

 

Source data below.  

 

 Driver Trailer #CommodityDelivery City
3/16/2020JamesLT1234SugarDes Moines
3/17/2020James9875FlourPittsburgh
3/18/2020James5476WheatSpokane
3/19/2020James9658WaterMadison
3/20/2020James3652BleachChicago
3/18/2020James1478FlourMilwaukee
3/16/2020Ron8741FlourPittsburgh
3/17/2020Ron1236WheatSpokane
3/18/2020Ron2345WaterMadison
3/19/2020Ron9854BleachChicago
3/20/2020Ron9632SugarDes Moines
3/16/2020Bob 2587WheatSpokane
3/17/2020Bob 9852WaterMadison
3/18/2020Bob 3698BleachChicago
3/19/2020Bob 1259SugarDes Moines
3/20/2020Bob 9657FlourPittsburgh
3/16/2020Gary 1289WaterMadison
3/17/2020Gary 6512BleachChicago
3/18/2020Gary 4521SugarDes Moines
3/19/2020Gary 3652FlourPittsburgh
3/20/2020Gary 9874WheatSpokane
3/16/2020Curt1278BleachChicago
3/17/2020Curt5421SugarDes Moines
3/18/2020Curt2541FlourPittsburgh
3/19/2020Curt3652WheatSpokane
3/20/2020Curt1425WaterMadison

 

7 REPLIES 7
Greg_Deckler
Super User
Super User

Difficult to say without sample source data, Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

However, it seems like you want a customer row hierarchy? So just put your columns in order in the Rows are of the visual.

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thanks for the advice.  I've edited the post to include the source data.  

 

 

Thanks @4660042674 !! Much appreciated.

 

I was able to do this after unpivoting your three value columns (below). PBIX is attached.

 

image.png

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thank you @Greg_Deckler !  That's much closer than I was getting.  

 

You mentioned you had to unpivot.  Where did you do that?  

 

Also, there are two entries for James on Wednesday.  Do you know why only one shows?  

 

 

 

Hi @4660042674 ,

 

Go to Home>Transform data:

Annotation 2020-03-16 174407.png

Choose column Trailer #,Commodity and Delivery City:

Annotation 2020-03-16 174616.png

Go to "Transform">"Unpivot columns":

Annotation 2020-03-16 174832.png

Then create a matrix visual as below:

Annotation 2020-03-16 175022.png

 

In "format",under Row header,choose: stepped layout :off ,under subtotals,choose Row subtotals : off:

Annotation 2020-03-16 175156.pngAnnotation 2020-03-16 175236.png

 

Finally you will see:

 

Annotation 2020-03-16 175428.png

 

For the related .pbix file,pls click here.

 

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

 

@v-kelly-msft ,

Thanks for contributing to the conversation.  I noticed that you marked your post as a solution.  

 

Your post is similar to others I got that was close to a solution but not exactly what was needed.  If you look closely at your solution, it won't display more than one record for each day and driver.  The source data has an example of this.  

 

If I'm mistaken, please let me know.  In the meantime, I removed the "solution" tag from your post.  

You unpivot in Power Query

Probably because the Matrix is aggregating

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.