Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |