Skip to main content
cancel
Showing results for 
Search instead 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.

Reply
Ronald123
Resolver III
Resolver III

Rented items over time

Hello,

 

Can someone help me with the follow.

I need a line graph for each day of the year how many items are rented.

 

STOCK TABLE = actual stock for each item. Options = 0 (item rented) or 1 (item available)

TRANSACTION TABLE = [IN/OUT] Options = 1 = BACK IN STOCK  or -1 OUT OF STOCK

 

1030HALO1001 - ACTUAL STOCK = 1  (item available)

 

10-05-2020 > BACK IN STOCK

30-04-2020> OUT OF STOCK

 

In the line graph expected results dor each day between the dates:

 

30-04-2020 until 10-05-2020  > RESULT 1 (rented)
10-05-2020 until TODAY         > result 0 ( not rented)

Thank in advance,

 

Ronald

Test file 

 

 

 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

Sounds like a variation on Open Tickets. https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364#M147


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

v-diye-msft
Community Support
Community Support

Hi @Ronald123 

 

For how many items are rented. would you like to get below results:

(I added a new row as below to clarify if there's a book rented and backed at the same day, then the rentedcount at that day should be 0)

9.PNG00.PNG

Pbix attached.

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @Ronald123 

 

For how many items are rented. would you like to get below results:

(I added a new row as below to clarify if there's a book rented and backed at the same day, then the rentedcount at that day should be 0)

9.PNG00.PNG

Pbix attached.

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Greg_Deckler
Super User
Super User

Sounds like a variation on Open Tickets. https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364#M147


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler, thanks for youre advice!

Helpful resources

Announcements
Microsoft Fabric Learn Together

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

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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