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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
AI14
Helper III
Helper III

Show/Hide data row based on condition

Hi

 

i want to on show data where the Var data is higher than the target finish data.

 

however the problem is that the target finish is entered data and the var data is calculated using :

DATEDIFF(MIN(LIVE[scheduled_finish]),MIN(CLEAN[actual_finish]),MINUTE)

 

please help, even if it means doing my calculations again.

 

DEP TIMESCHEDULED FINISHACTUAL FINISHVarTARGET FINISH
06:5005:5005:45-65-60
07:5006:5006:500-60
07:5007:4007:41-9-10
09:5509:3009:10-25-45
1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @AI14 

target finish can be calculated similarly, what do you mean by entered data?

 

if this is irrelevant, you can write a measure like this:

Measure =

IF([Var]>[Target Finish], 1)

 

and feed the measure to the filter pane of the table visual, and choose equal to 1.

View solution in original post

4 REPLIES 4
FreemanZ
Super User
Super User

hi @AI14 

target finish can be calculated similarly, what do you mean by entered data?

 

if this is irrelevant, you can write a measure like this:

Measure =

IF([Var]>[Target Finish], 1)

 

and feed the measure to the filter pane of the table visual, and choose equal to 1.

Hi @FreemanZ 

 

The Actual finish time and shceduled finish time was in date/time format and i used the above dax formula to make the var look like this: -45 format.

the target finish is data i entered in excel and imported so the format is already there

 

i tried the formula but got this message:

AI14_0-1674349845303.png

 

hi @AI14 

are you solving it with calculated column?

How LIVE and CLEAN are related?

 

appologies, i tried it with a measure again and it worked.

 

i did:     If([actual_finish]>sumx([table,target_finish]),1)

 

Thanks

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.