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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Alaska1
Frequent Visitor

Visuals on more than one column

I have three data columns that I need to create a visual (bar graph or table).  Is there a way to create the chart based on the three columns?

 

Example:

Status 1 

Completed

 

Status 2

Pending

 

Status 3

Escalate

 

2 ACCEPTED SOLUTIONS

@Alaska1 

you can try to do the data transform in PQ

 

let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wcs7PLchJLUlNUdJRCkjNS8nMSweyXIuTE3MSS1KVYnVooUQBjLGJEmEqRKNnXjJUljzzKNKCw3JswrEA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Completed = _t, Pending = _t, Escalate = _t]),
Custom1 = Table.FromList( List.Combine(Table.ToColumns( Source))),
#"Filtered Rows" = Table.SelectRows(Custom1, each ([Column1] <> " ")),
#"Duplicated Column" = Table.DuplicateColumn(#"Filtered Rows", "Column1", "Column1 - Copy"),
#"Grouped Rows" = Table.Group(#"Duplicated Column", {"Column1"}, {{"Count", each Table.RowCount(_), Int64.Type}})
in
#"Grouped Rows"

11.PNG

 

then it will be easy to draw the pie chart.

 





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

Proud to be a Super User!




View solution in original post

Hi @Alaska1 ,

Ryan_mayu seems to have provided you with a solution, is it possible to mark his reply as a solution? Also, is there anything else you need help with regarding this thread?

Best Regards

Community Support Team _ Rena
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

8 REPLIES 8
Hakuna_matata
Helper II
Helper II

Hello @Alaska1 ,
You might need to transform your data (Unpivot in power query or update directly in excel). Please see below data structure.

Hakuna_matata_0-1730364487965.png

After this you can simply select the type of visual in the below case I have selected clustered column chart and put in field accordingly

Hakuna_matata_1-1730364570627.png

Hope this help!

ryan_mayu
Super User
Super User

pls provide some sample data and expected output.





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

Proud to be a Super User!




CompletedPendingEscalate
CompletedPendingEscalate
CompletedPendingEscalate
CompletedPendingEscalate
Completed  
Completed Escalate
CompletedPending 
Incomplete  
Completed Escalate
Completed  
Completed Escalate
Completed  
Incomplete  
Incomplete  

 

Alaska1_0-1730361396691.png

 

Thank you!

CompletedPendingEscalate
CompletedPendingEscalate
CompletedPendingEscalate
CompletedPendingEscalate
Completed  
Completed Escalate
CompletedPending 
Incomplete  
Completed Escalate
Completed  
Completed Escalate
Completed  
Incomplete  
Incomplete  

 

Alaska1_0-1730361396691.png

 

Thank you!

@Alaska1 

you can try to do the data transform in PQ

 

let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wcs7PLchJLUlNUdJRCkjNS8nMSweyXIuTE3MSS1KVYnVooUQBjLGJEmEqRKNnXjJUljzzKNKCw3JswrEA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Completed = _t, Pending = _t, Escalate = _t]),
Custom1 = Table.FromList( List.Combine(Table.ToColumns( Source))),
#"Filtered Rows" = Table.SelectRows(Custom1, each ([Column1] <> " ")),
#"Duplicated Column" = Table.DuplicateColumn(#"Filtered Rows", "Column1", "Column1 - Copy"),
#"Grouped Rows" = Table.Group(#"Duplicated Column", {"Column1"}, {{"Count", each Table.RowCount(_), Int64.Type}})
in
#"Grouped Rows"

11.PNG

 

then it will be easy to draw the pie chart.

 





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

Proud to be a Super User!




Thank you!

Hi @Alaska1 ,

Ryan_mayu seems to have provided you with a solution, is it possible to mark his reply as a solution? Also, is there anything else you need help with regarding this thread?

Best Regards

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

you are welcome





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

Proud to be a Super User!




Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors