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
Dear
I need to create the following column "instock ? If ( Stock > ? (Sell/14), 1, 0)"
The problem is that the stock is ready in Table 1, but the sale is made based on a measure in Table 2, which is as follows:
I'm staying tuned
Solved! Go to Solution.
@csalinas23 ,Not very clear.
You can have a new column in the stock table like
Sumx(filter(Sales,[sales[item id] = stock[item Id] && Sales[Date] >= max(sales[date])-13),sales[TOTAL_SO_UNIDADES])
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Hi,
Share some data, describe the question and show the expected result.
@csalinas23 ,Not very clear.
You can have a new column in the stock table like
Sumx(filter(Sales,[sales[item id] = stock[item Id] && Sales[Date] >= max(sales[date])-13),sales[TOTAL_SO_UNIDADES])
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
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 July 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
112 | |
69 | |
46 | |
43 |
User | Count |
---|---|
186 | |
85 | |
76 | |
74 | |
56 |