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
joglidden2
Post Patron
Post Patron

Needed: the most complicated visualization ever

I need a visualization that is a "checkbox", if you can use your imagination. I've never seen it in PBI, ever. 
SQL Server data type = "bit" (can be a 1, or it can be a 0, but nothing else)

Field renders in PBI direct query: either "TRUE" (corresponds to 1) or "FALSE" (corresponds to 0)

Requirement: when "TRUE" the checkbox is shown as "checked", when "FALSE" the checkbox is shown as "unchecked".

This visualization will also manage to render the name of the field in a header, formattable.

This visualization is NOT a slicer. I don't want to slice on this field, just render it as-is, shown as a "checkbox".

Any ideas?

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@joglidden2 for checkbox, UNICHAR(9745). For empty checkbox, UNICHAR(9744). You can create a measure to use in a Card visual like:

Measure = UNICHAR(9745) & "This is some header"

@ 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...

View solution in original post

4 REPLIES 4
joglidden2
Post Patron
Post Patron

@Greg_Deckler , thanks for the suggestion, that worked! Here's what I did (with a column instead of a measure):

Network_Opt_Req_Check = IF(EBS_site_tracking_view[Network_Opt_Required] = TRUE(), UNICHAR(9745), UNICHAR(9744))
joglidden2_0-1636742384911.png

Shown is the column (filtered on that row), in both a card and table. For the card, I just turned off the category label and created a formatted title. Very best!

v-xiaoyan-msft
Community Support
Community Support

Hi @joglidden2 ,

 

Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thank you very much for your kind cooperation!

 

Hope it helps,


Community Support Team _ Caitlyn

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

joglidden2
Post Patron
Post Patron

@Greg , you have book!  I'm gonna get that.
I'll check out your proposed solution and let you know what I think.

Greg_Deckler
Super User
Super User

@joglidden2 for checkbox, UNICHAR(9745). For empty checkbox, UNICHAR(9744). You can create a measure to use in a Card visual like:

Measure = UNICHAR(9745) & "This is some header"

@ 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.