bhavesh-jadav / Advance-Card

Advance Card Visual for Power BI
http://bhaveshjadav.in/powerbi/advancecard/
GNU General Public License v3.0
25 stars 12 forks source link

Data Label Condition does not work properly #41

Open cmajka opened 4 years ago

cmajka commented 4 years ago

Describe the bug Data label condition If Value is > 0.6 then foreground color is red. If Value is < = 0.6 then foreground color is Green. To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Additional context The value in this Advance Card is a measure: Go Rate MTD = TOTALMTD([Go Rate], 'Calendar'[Date])

The value in the card is displayed as a %, i.e., 60%.

michaelxq commented 3 years ago

Describe the bug Background conditional formatting not working Data Label and/or Prefix label and/or Postfix label condition If Value is <0 then Foreground color is white and Background color is red

To Reproduce Create a measure with value equal as -1, set prefix and postfix labels (at random) and then add the condition

Expected behavior Background of the visual to change to red and number/labels to white

Screenshots image

Desktop (please complete the following information):

OS: Windows 10 Browser: PowerBI Desktop Version: 2.87.762.0 64-bit (November 2020)