Forum Discussion
Measure on-time delivery performance and slice by origin location
- 9 years ago
Hi jhenscheid,
In source table, create a calculated column that returns the original location for each Carrier per LoadID.
Original lacation = CALCULATE ( LASTNONBLANK ( 'delivery performance'[Pick Location], 1 ), FILTER ( ALLEXCEPT ( 'delivery performance', 'delivery performance'[LoadID], 'delivery performance'[Carrier] ), 'delivery performance'[Type] = "pick" ) )
Create an extra table which lists all distinct values of Pick Location.
Pick location table = VALUES('delivery performance'[Pick Location])Create a one to many relationship between this new table and source table based on [Original Location].
In report page, rather than adding [Pick Location] from source table into slicer, you should add 'Pick location table'[Pick Location] into slicer. Then, when you select pick location item, the visual won't return none.
Best regards,
Yuliana Gu
Hi jhenscheid,
In source table, create a calculated column that returns the original location for each Carrier per LoadID.
Original lacation = CALCULATE ( LASTNONBLANK ( 'delivery performance'[Pick Location], 1 ), FILTER ( ALLEXCEPT ( 'delivery performance', 'delivery performance'[LoadID], 'delivery performance'[Carrier] ), 'delivery performance'[Type] = "pick" ) )
Create an extra table which lists all distinct values of Pick Location.
Pick location table = VALUES('delivery performance'[Pick Location])
Create a one to many relationship between this new table and source table based on [Original Location].
In report page, rather than adding [Pick Location] from source table into slicer, you should add 'Pick location table'[Pick Location] into slicer. Then, when you select pick location item, the visual won't return none.
Best regards,
Yuliana Gu
This worked exactly as needed!! Thank you for your help. Much appreciated!