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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
wotkara
Frequent Visitor

status of rental items based on 3 measures

Good afternoon, this seems like an easy task but my data is complicated so struggling.

Relationships:

wotkara_1-1714411919833.png

 

Inventory:

wotkara_2-1714415242831.png

I need to return status of inventory item ID by:

  • Delivery Ticket Number from "Delivery Ticket" if "Rental Stop Date" AND "Item Last Return Date" from "Delivery Ticket Detail" is blank AND after 1/1/2024
  • "Out on Work Order" if item last status contains the words "Out on Work Order .."
  • Return available if either of the criteria above is false

I cannot use "item last status" for all situations due to it returning the status of the last transaction completed in inventory which is not always the most recent status; therefore, the last 2 columns need deleted.

1 REPLY 1
v-yifanw-msft
Community Support
Community Support

Hi @wotkara ,

Based on the information you provided, can you give detailed data (without sensitive information) about "Delivery Ticket Number from 'Delivery Ticket' if 'Rental Stop Date' AND 'Item Last Return Date' from ’Delivery Ticket Detail‘ is blank AND after 1/1/2024" . Providing example data and your expected output will allow us to better understand and reach the results you want.

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.