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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
River
Helper IV
Helper IV

best visual to display diversified vendor's expense

Hi Friends,

 

In our vendor table, each vendor is marked as 'small business', 'female owned', 'disabled owned'..., each type is a separated column, with value 1 or 0. 

 

we want to find out how much we do business with each type, how can I use a single bar chart or whatever visual to tell each type's expense.

 

Thanks,

2 ACCEPTED SOLUTIONS
v-stephen-msft
Community Support
Community Support

Hi @River ,

 

You can select the columns you need, then unpivot.

vstephenmsft_0-1648197400148.png

 

Then you'll get this table.

vstephenmsft_1-1648197445493.png

 

This way you can put the attribute column into Legend. The attribute column can also be put into slicers for filtering.

vstephenmsft_2-1648197525034.png

 

 

Best Regards,

Stephen Tao

 

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

View solution in original post

That works. Thanks a lot!

View solution in original post

4 REPLIES 4
v-stephen-msft
Community Support
Community Support

Hi @River ,

 

You can select the columns you need, then unpivot.

vstephenmsft_0-1648197400148.png

 

Then you'll get this table.

vstephenmsft_1-1648197445493.png

 

This way you can put the attribute column into Legend. The attribute column can also be put into slicers for filtering.

vstephenmsft_2-1648197525034.png

 

 

Best Regards,

Stephen Tao

 

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

That works. Thanks a lot!

River
Helper IV
Helper IV

@amitchandak , thanks for response, but, difficulty I had is that those types are in different columns/fields.

How can you put them in a stacked chart or pie? 

amitchandak
Super User
Super User

@River , Stacked visual. Pie with details

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.