Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi community,
We currently sell sets which are a combination of multiple components.
For example a Farm Set (item code 12345) is made of three components: cows (item code 12344), chicken (item code 12343) and pigs (item code 12342).
I would like to have a rule that shows that the Farm Set is out of stock if one of the three components have a stock less than 3 for example.
Does anyone know a formula that could help me to achieve that?
I have a table that looks like this:
SET NAME | SET CODE | COMPONENT CODE | COMPONENT NAME | COMPONENT STOCK |
FARM SET | 12345 | 12344 | COWS | 5500 |
FARM SET | 12345 | 12343 | CHICKEN | 1870 |
FARM SET | 12345 | 12342 | PIGS | 1251 |
Thanks!
Solved! Go to Solution.
@marianamarques,
Please check the DAX in the PBIX file below.
https://1drv.ms/u/s!AhsotbnGu1Nok1jyeIy6V0Y47bBF
Regards,
Lydia
@marianamarques,
Please check the DAX in the PBIX file below.
https://1drv.ms/u/s!AhsotbnGu1Nok1jyeIy6V0Y47bBF
Regards,
Lydia
Thanks a lot Lydia! It works!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
217 | |
89 | |
82 | |
66 | |
57 |