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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
dofrancis3
Helper III
Helper III

Icon Data Vizualisation

Dear colleagues us you can see, i would like to display may data by services and days of availability of Doctor.

Could you help me how to do it with DAX Mesure or calculate colomns.

 

Thank you

dofrancis3_1-1728949748906.png

 

1 ACCEPTED SOLUTION
Irwan
Super User
Super User

hello @dofrancis3 

 

please check if this accomodate your need.

 

1. original data

Irwan_0-1728958145966.png

 

2. unpivot data

Irwan_1-1728958174928.png

 

3. to extract type of service, go to Add Column -> Extract -> Before Delimiter (use "_" as delimiter). 

Irwan_3-1728958310902.png

Dont forget to select the 'Attribute' column.

 

4. to extract day, go to Add Column -> Extract -> After Delimiter (use "_" as delimiter)

Irwan_4-1728958331144.png

Dont forget to select the 'Attribute' column.

 

5. use Matrix visual and drop down your column

Irwan_5-1728958437866.png

 

6. go to value, choose conditional formating, select icon

Irwan_6-1728958503184.png

 

7. in conditional formating window, here is the view

Irwan_7-1728958564622.png

- choose "Icon only" in Icon layout for showing icon (no number shown).

- use = value

- put 1 in value box as your data put 1 as available services.

- and dont forget to change into number (your data use number)

- choose symbol you want.

 

8. here is the result.

Irwan_8-1728958693245.png

Hope this will help.

Thank you.

View solution in original post

3 REPLIES 3
Irwan
Super User
Super User

hello @dofrancis3 

 

please check if this accomodate your need.

 

1. original data

Irwan_0-1728958145966.png

 

2. unpivot data

Irwan_1-1728958174928.png

 

3. to extract type of service, go to Add Column -> Extract -> Before Delimiter (use "_" as delimiter). 

Irwan_3-1728958310902.png

Dont forget to select the 'Attribute' column.

 

4. to extract day, go to Add Column -> Extract -> After Delimiter (use "_" as delimiter)

Irwan_4-1728958331144.png

Dont forget to select the 'Attribute' column.

 

5. use Matrix visual and drop down your column

Irwan_5-1728958437866.png

 

6. go to value, choose conditional formating, select icon

Irwan_6-1728958503184.png

 

7. in conditional formating window, here is the view

Irwan_7-1728958564622.png

- choose "Icon only" in Icon layout for showing icon (no number shown).

- use = value

- put 1 in value box as your data put 1 as available services.

- and dont forget to change into number (your data use number)

- choose symbol you want.

 

8. here is the result.

Irwan_8-1728958693245.png

Hope this will help.

Thank you.

Dear @Irwan Irwan thank you for this great job you did.

Please could you tell me what coloms shoud i unpivot data and what kin of unpivot below should i select?

dofrancis3_0-1728988162428.png

 

Dear @Irwan please could you share the (.pbix) file 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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