The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I am trying to do a calculation to show the reorder point of my product times a parameter value in order to identify products that is soon in need to be reordered.
I am expecting to set the value to "True" if the available inventory is below the reorder value.
Its working as intended without the parameter value but totaly breaks as soon as i add that in the formula.
I am expecting the "ReOrder x Parameter" to also be "True" here because that is the case.
My measurments looks like this.
Avail. Inv. = BON_Items[InventoryField]-(BON_Items[Y365_Qty_on_Sales_Order]+BON_Items[Y365_Qty_on_Component_Lines])
ReOrder Factor = sum(BON_Items[Reorder_Point])*Parameter[Value for Parameter]
ReOrder = IF(BON_Items[Avail. Inv.]<BON_Items[Reorder_Point],"True","False")
ReOrder x Parameter = IF(BON_Items[Avail. Inv.]<[ReOrder Factor],"True","False")
Solved! Go to Solution.
Are you adding it as a column or a measure, because it won't work as a column. Calculated columns are only calculated during data load or refresh, so if you want something to react dynamically to a slicer you will need to implement it as a measure.
Well you learn something every day, changing the if formula to a measurment solved it. I had it as a column.
Thanks!
Are you adding it as a column or a measure, because it won't work as a column. Calculated columns are only calculated during data load or refresh, so if you want something to react dynamically to a slicer you will need to implement it as a measure.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
79 | |
78 | |
44 | |
38 |
User | Count |
---|---|
150 | |
116 | |
68 | |
64 | |
58 |