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
kongyuancn
Helper I
Helper I

What visual should I use?

Hi All,

I have a table looks like:

StationTest Result
Station1Pass
Station2Fail
Station3Pass
Station4Pass
Station5Pass
Station6Fail

 

I want to show it as following:

 
PassFailPass
PassPassFail

 

or

 

tmp.png

 


What visual should I use?

Thanks in advance.

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey @kongyuancn ,

 

unfortunately there is no default and also no custom visual that allows the visualization the way you want.

 

This is because of the visualization does not think in linebreaks or new lines every three. Currently all the stations will be shown in one column, meaning 6 rows, or one row, meaning 6 columns.

If you can add two additional columns (row / column) to your data, that will define the position in a matrix you can use a matrix visual. So Station1 has the values row:1 and column:1, Station5 has the values row:2 and column2.

 

Hopefully, this provides some ideas to tackle your challenge. 

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

FarhanAhmed
Community Champion
Community Champion

There is no direct way to create such visualization, but as I realized your data I think there is a way around

 

- Create Index Column against your data (Power Query)

- Create Grouping Column this will group your data in 3 

Grouping Column = IF( MOD('Table'[Index],3) =0,3,MOD('Table'[Index],3))

-Create a Custom Column Cieling Column that will give you Row Grouping

Ceil = CEILING('Table'[Index]/3,1)

- Put Ceil in Row, Grouping Column in Column and TestResult in Values in Matrix to get following results, you can do conditional formatting and change the column header color to white to get more appropiate result.

 

CustomVisualization.png

 

I hope this is what you are looking for.

 

 







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

Proud to be a Super User!




View solution in original post

3 REPLIES 3
FarhanAhmed
Community Champion
Community Champion

There is no direct way to create such visualization, but as I realized your data I think there is a way around

 

- Create Index Column against your data (Power Query)

- Create Grouping Column this will group your data in 3 

Grouping Column = IF( MOD('Table'[Index],3) =0,3,MOD('Table'[Index],3))

-Create a Custom Column Cieling Column that will give you Row Grouping

Ceil = CEILING('Table'[Index]/3,1)

- Put Ceil in Row, Grouping Column in Column and TestResult in Values in Matrix to get following results, you can do conditional formatting and change the column header color to white to get more appropiate result.

 

CustomVisualization.png

 

I hope this is what you are looking for.

 

 







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

Proud to be a Super User!




Thank you @FarhanAhmed @TomMartens  for your solution!

TomMartens
Super User
Super User

Hey @kongyuancn ,

 

unfortunately there is no default and also no custom visual that allows the visualization the way you want.

 

This is because of the visualization does not think in linebreaks or new lines every three. Currently all the stations will be shown in one column, meaning 6 rows, or one row, meaning 6 columns.

If you can add two additional columns (row / column) to your data, that will define the position in a matrix you can use a matrix visual. So Station1 has the values row:1 and column:1, Station5 has the values row:2 and column2.

 

Hopefully, this provides some ideas to tackle your challenge. 

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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.