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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

interactive inventory management

When a specific customer orders for a product, if the customer's stock of that product is insufficient, the order must be met from the dummy stock of that product. I also share a picture of how the table should be based on a single product. but i have much more product types.i am also sharing the sample output table for one product. in addition, i also add the measure that i wrote it but it does not work properly. i am glad that if you will help me:)


sample output:

crnswengineer_0-1663565334728.png


measure:

measure=

var product=SELECTEDVALUE(table1 [productid])

var dummy=SELECTEDVALUE('dummytable'[productid])

var customer=SELECTEDVALUE(table1[customer])

return

 IF(urun= dummy && [ending]<0 && customer <> dummy ,[dummy stok],[ending])

2 REPLIES 2
Anonymous
Not applicable

hi @v-cazheng-msft , i havent solve my problem yet. i prepared dumb data i hope it will help. i tried to explain my problem. i can not share real data because the data owner does not allow it.
https://docs.google.com/spreadsheets/d/15HWaxPlVcxSHg08AroswCsym9NHktGW3/edit?usp=sharing&ouid=10840...

v-cazheng-msft
Community Support
Community Support

Hi @Anonymous,

 

May I know whether your issue has been resolved? If you still have problem on it, could you please provide some sample data from your tables and let me know their relationships? In addition, please make your needs more clearer. Thanks in advance!

 

Best Regards,

Community Support Team _ Caiyun

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.