+ Reply to Thread
Results 1 to 3 of 3

Power BI - True/False Values not Conditional Formatting Correctly

  1. #1
    Registered User
    Join Date
    03-08-2020
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    23

    Power BI - True/False Values not Conditional Formatting Correctly

    Hi,

    I cant work out why but True/False values are not formatting correctly, they're all being formatted as True values even if they're False values.

    Attached is a screenshot of the work.

    As you can see i have 3 rules, if the value is 1 or greater (true) then display a green tick, if its blank or equals 0 (false) then display a red cross. But for what ever reason its putting them all as True even if the value is False. I've also tried changing the rule so its just if value = 1 (instead of 1 or greater).

    What am i doing wrong here?

    Thank you.
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,095

    Re: Power BI - True/False Values not Conditional Formatting Correctly

    The rules are to do with numbers, not whether the column shows true or false, so based on the images alone, I'd say the rules are not fit for purpose.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    03-08-2020
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    23

    Re: Power BI - True/False Values not Conditional Formatting Correctly

    Hi Ali,

    I thought numbers may work with True = 1 and False = 0 but i guess that cant be done in Power BI. I can turn the values (True/False) into numbers (1/0) but then the Filter options would change to 1/0 and when exporting the data it would output the number where as i want the values to be True/False.

    I'm a little stuck on how to do what im after

    Thanks

    EDIT: The only thing i can think of is to do a IF statement by saying IF value = TRUE then unichar green tick, else unichar red cross. Is there a better way?
    Last edited by micky007; 05-08-2020 at 06:52 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Power BI - Export Data, Turn 0/1 to True/False
    By micky007 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-06-2020, 10:21 AM
  2. [SOLVED] Conditional Formatting when I've 1 TRUE i need to color also 2 FALSE
    By XLalbania in forum Excel General
    Replies: 6
    Last Post: 11-03-2018, 01:23 PM
  3. Power Query - calculated true or false show result of table????
    By janljan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2018, 11:23 PM
  4. [SOLVED] Conditional Formatting not recognizing TRUE or FALSE
    By jimmisavage in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-09-2017, 05:53 AM
  5. [SOLVED] Conditional Formatting a cell from a "true/false" VLOOKUP
    By Solidstan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-12-2013, 10:54 AM
  6. True/False Conditional Formatting Icon Style
    By chasepes in forum Excel General
    Replies: 3
    Last Post: 07-07-2010, 11:18 AM
  7. [SOLVED] Conditional Formatting for True/False
    By Phil H. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2005, 05:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1