cancel
Showing results 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.

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)

 DEP TIME SCHEDULED FINISH ACTUAL FINISH Var TARGET FINISH 06:50 05:50 05:45 -65 -60 07:50 06:50 06:50 0 -60 07:50 07:40 07:41 -9 -10 09:55 09:30 09:10 -25 -45
1 ACCEPTED SOLUTION
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.

4 REPLIES 4
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.

Helper III

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:

Super User

hi @AI14

are you solving it with calculated column?

How LIVE and CLEAN are related?

Helper III

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

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

Thanks

Announcements

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

Power BI Monthly Update - April 2024

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

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors