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
arun2001mjl
Helper II
Helper II

Conditional Formatting for Latest Date Selection

Hello Team,

In PowerBI, i have loaded 3 files (Table1, Table2 & Table3). All 3 files were related each other.

In Each Table, i have Account Name, Capability, Update Date and Updated by.

I have created a Table Visual in PowerBI and moved the columns as shown in below table.

In Columns, Latest Update(Table1), i have selected the date to show as "Latest", but I did not select "Dont Summarize". I need a conditional Formatting whenever the date is blank or if it is greater than 30 days from Today. I created a new column and used below formula for all 3 tables but it is not working as expected. When we use "Dont summarize", it works. But, when i select to show only "Latest" dates it is not working.

Sample Formula is fyi.

IF(OR(DATEDIFF(Table1[Latest Update(Table1)],Today(),DAY) >30, [Latest Update(Table1)] = BLANK()), 1, 0)

 

Below Table is sample:

AccountNameCapabilityTotal ResourceLatest Update(Table1)Latest Updated By(Table1)Latest Update(Table2)Updated By(Table2)Latest Update(Table3)Latest Updated By(Table3)AW update(Table1)TB update(Table3)
Test1CBP13.0  05/09/22 2/5/2020User700
Test1CPB27.0  05/09/22 12/9/2022User100
Test1CBP228.0  05/09/22 12/9/2022User100
Test1CPB3   17/05/23User6  00
Test1CBP321.012/9/2022User105/09/22 12/9/2022User100
Test1CPB416.05/11/2023User206/12/22User512/6/2022User810
Test1CBP413.05/11/2023User305/09/22   10
Test1CPB528.05/11/2023User405/09/22 5/11/2023User411
Test1CBP545.05/11/2023User411/05/23User45/11/2023User411
Test1CPB69.05/11/2023User205/09/22 5/8/2023User911
Test1CBP626.05/11/2023User205/09/22 12/9/2022User110
Test1CPB719.0  05/09/22 5/2/2023User201

 

arun2001mjl_0-1685586953773.png

arun2001mjl_0-1685587567350.png

 

Please help.

 

Regards

Arun

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

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.