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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.