Forum Discussion

joglidden2's avatar
joglidden2
Post Patron
4 years ago
Solved

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?

 

  • 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"

4 Replies

  • 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 , 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))

    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!

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    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"
  • Anonymous's avatar
    Anonymous
    Not applicable

    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.