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.
Hi Experts,
BackGround...
I have multiple other visuals on the slicer page that interact with the timeline slicer, it cannot be deleted.
The open hours visual is supposed to sum up all the executable hours for each department number (19, 6, etc.).
The timeline visual is based on the DateDim table, field Date.
There is an inactive relationship between DateDim(date) and TreleasedRotuer(ReceiptDate)
Receiptdate is null if the parts have not been received in the area.
The equation for executable hours is in a calculated column with Dax as follows...
TotalExecutableMachineHours = IF ( [TotalCompleteQty] = 0, CALCULATE ( SUMX ( TReleasedRouter, TReleasedRouter[SetupMachineStd] + TReleasedRouter[OpQty] * TReleasedRouter[MachineTimePerPiece] ), ISBLANK ( TReleasedRouter[OpCompleteDate] ), NOT ISBLANK ( TReleasedRouter[ReceiptDate] ), USERELATIONSHIP(TReleasedRouter[ReceiptDate],DateDim[Date]) ), CALCULATE ( SUMX ( TReleasedRouter, ( TReleasedRouter[OpQty] - [TotalCompleteQty] ) * TReleasedRouter[MachineTimePerPiece] ), ISBLANK ( TReleasedRouter[OpCompleteDate] ), NOT ISBLANK ( TReleasedRouter[ReceiptDate] ), USERELATIONSHIP(TReleasedRouter[ReceiptDate],DateDim[Date]) ) )
The results are not showing up correct.
I can get the correct results if i delete the timeline visual (which is not acceptable).
I think this means that the totalexecutable results are being filtered thorugh the variance table path?
I have tried:
Using a Filter, Filter(all) and some other functions in the filter section of the calculate. Didn't work.
Changing the date relationship between receiptdate and Date to both directions. didnt work.
Various other approaches.
Any help you guys can provide would be great.
K.
Solved! Go to Solution.
The problem was resolved there appears to have been two underlying issues.
1. I should have used a measure instead of a calculated column.
Changing to a measure resolved the calculation issue.
2. Per M.Felix's reccomendation, setting the no interaction for the visual likely prevented a possible issue where the user changed the visual and changed the equation results.
Thanks
K.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe problem was resolved there appears to have been two underlying issues.
1. I should have used a measure instead of a calculated column.
Changing to a measure resolved the calculation issue.
2. Per M.Felix's reccomendation, setting the no interaction for the visual likely prevented a possible issue where the user changed the visual and changed the equation results.
Thanks
K.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
81 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |