Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PabloGiraldo
Helper IV
Helper IV

How to change cell color once date is added

Is it possible to change cell color once date is added? Please see screenshot

 

5.PNG

3 ACCEPTED SOLUTIONS

I ended up figuring this out myself after doing more research.

 

Created the measure below.7.PNG

Then went back to table and did conditional formating for that column as shown below.8.PNG

View solution in original post

Unfortunately, it is no way to filter visual based on formatting style, but you can  filter it by the field it self .
Create a column in which the result is "scheduled"  / "not scheduled" and use it as a filter...

Ritaf1983_0-1683897413397.pngRitaf1983_1-1683897448962.png

 


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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

Hi @PabloGiraldo 
You can use the same logic as on my last suggestion , but with multiple "and" conditions:

TestScheduled = if('Summary'[Clean Water Testing].[Date] <> BLANK() && 'Summary'[Equipment Training].[Date]<>BLANK() &&'Summary'[Process Training]<> blank()&& 'Summary'[Seeding] <> blank() &&'Summary'[Whole Plant Acceptance and Performance Testing (following Digester Retrofit)] <>  blank() && 'Summary'[Veolia Effort Needed  - Plant Operation of Both Plants ] <> blank() && 'Summary'[Veolia Effort Needed -  Training] <> blank()&& 'Summary'[Veolia Effort Needed - Laboratory  Analysis] <> blank(), "Scheduled", "Not Scheduled")
In your example there are blanks in every row, so all rows are "Not Scheduled"
Ritaf1983_0-1683989017704.pngRitaf1983_1-1683989042541.png

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

14 REPLIES 14
Ritaf1983
Super User
Super User

Hi @PabloGiraldo 
In this way, it's really hard to understand what needs to be done.
Please attach a table or file that isn't a screenshot.
So picture with an example of the desired result?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@Ritaf1983 

Dates in columns are added throughout the month after training is scheduled. If no date is added, leave cell blank. If date is added, highlight cell red. Added another screenshot with desired outcome and link to the actual file i am working with. Thank you!6.PNGhttps://walshgroup-my.sharepoint.com/:u:/p/pgiraldoclavijo/EUTPKcpcsixDs0CcdxxHaFgBhI0Iex3jsZoYg0SZl... 

I ended up figuring this out myself after doing more research.

 

Created the measure below.7.PNG

Then went back to table and did conditional formating for that column as shown below.8.PNG

Hi @PabloGiraldo 
Great and you can achieve it without measure, with formatting options only (you just choose the desired column and apply steps like on the picture)

Ritaf1983_0-1683895809106.png

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thank you!

One more question on this. Is there a way to filter the entire table by the higlighted red cells?

Unfortunately, it is no way to filter visual based on formatting style, but you can  filter it by the field it self .
Create a column in which the result is "scheduled"  / "not scheduled" and use it as a filter...

Ritaf1983_0-1683897413397.pngRitaf1983_1-1683897448962.png

 


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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

This worked perfectly. Is there a way to create a measure that will show me "Scheduled" "Not Scheduled" that includes all other columns? So when i click on the filter it will show me all columns that have dates in them? Sorry in advance but i am very new to this

Okay, that's fine.
I would like to ensure I understand your needs correctly.
Do you want a slicer that will check whether all columns have dates?
Is that to say that there are no empty cells in the table at all?

Or do you mean a slicer that displays a table containing at least one existing date?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

I would like a slicer that will check whether all columns have dates. I understand some cells will be empty in table as some columns only have a few dates and others are have a lot more. Thank you again!

Hi @PabloGiraldo 
You can use the same logic as on my last suggestion , but with multiple "and" conditions:

TestScheduled = if('Summary'[Clean Water Testing].[Date] <> BLANK() && 'Summary'[Equipment Training].[Date]<>BLANK() &&'Summary'[Process Training]<> blank()&& 'Summary'[Seeding] <> blank() &&'Summary'[Whole Plant Acceptance and Performance Testing (following Digester Retrofit)] <>  blank() && 'Summary'[Veolia Effort Needed  - Plant Operation of Both Plants ] <> blank() && 'Summary'[Veolia Effort Needed -  Training] <> blank()&& 'Summary'[Veolia Effort Needed - Laboratory  Analysis] <> blank(), "Scheduled", "Not Scheduled")
In your example there are blanks in every row, so all rows are "Not Scheduled"
Ritaf1983_0-1683989017704.pngRitaf1983_1-1683989042541.png

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Got it! Thank you for your time!

Happy to help 😊

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

i hate to ask you another question but i cant seem to get help from anyone else. Last thing i need to create is a slicer or a card? that once i select it, it will show me what has been schedule  "This Week" and "This Month.14.PNG

Hi @PabloGiraldo 
Unfortunately, I haven't fully understood what exactly is needed.
I asked clarifying questions, In the original post of this question.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.