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
Anonymous
Not applicable

Conditional Formatting In A Table

Hello,


This is a very unusual request, but I am not able to replicate something that I have already done.

 

I have a small table with three fields (Unbilled-Recent; Unbilled vPM, Unbilled vPY). As you can see, the two last columns are conditionally formatted. I am not able to replicate this anymore in the new table (if I want to have the same with other values, it doesn't work). It works only if I add a new column with a Period (Month, Quarter, Date, etc.). But if I want to have only values as standalone columns like in this case, it doesn't work (i.e. there is no conditional formatting applied, so arrows do not show up).

 

Even if I am creating a new table, adding these three measures and try to format them conditionally once again, it doesn't work. 🙂 

 

Can anyone help - what is going on in here?

 

Below are the formulas:

Unbilled-Current-Month (same as Unbilled-Recent) = (calculate(sum('All BPOC Reports'[Unbilled]),filter('All BPOC Reports','All BPOC Reports'[Date01]=max('All BPOC Reports'[Date01]))))/1000  
 
Unbilled-Previous-Month =
VAR MaxDate = max('All BPOC Reports'[Date01])
VAR MyDate = calculate(max('All BPOC Reports'[Date01]),'All BPOC Reports'[Date01]<MaxDate)
RETURN
calculate(sum('All BPOC Reports'[Unbilled]),'All BPOC Reports'[Date01]=MyDate)/1000
 
Unbilled-Previous-Year = calculate(sum('All BPOC Reports'[Unbilled]),SAMEPERIODLASTYEAR('All BPOC Reports'[Date01]))/1000
 
Unbilled vPM = ([Unbilled-Current-Month]-[Unbilled-Previous-Month])
 
Unbilled vPY = [Unbilled-Current-Month]-[Unbilled-Previous-Year]
 
Here is a part of my dataset (it contains projects from 2020 and 2019):
 
REGIONPROJEKTNRPROJEKTNAMERISKPOCDELTAUNBILLEDDEFERREDDATE01PERIOD

VAST

123456lalaland0ja0%0110003/31/202003/27/2020
VAST123457whatever9888ja0%1080006003/31/202003/27/2020
VAST771814does10000ja3%100080602/29/202002/28/2020
NORR555444not90000no5%20000400002/29/202002/28/2020
NORR444311matter98666no10%40000133331/31/202001/31/2020
NORR111441at all55000no22%50666500001/31/201901/31/2019

 

Unbilled01.JPG

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please delete all the default rules and then add new rules. Then, it works. Amazing.

icon.gif

 

 

Best Regards,

Icey

 

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

View solution in original post

10 REPLIES 10

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.