Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Community,
I have a data model consisting of stock, invoiced and open orders. All are related to a common date dimension. I want to create a table visual displaying these values next to each other on different levels (customer, resource).
In addition I want the user to be able to filter invoiced and open orders using a Slicer by month and year ( I do not have month and year as a column in the table visual).
I do not want the inventory to be fitlered by month and year. The inventory is the current inventory and it should always display as such. I do have one snapshot of the inventory that is dated current date and linked like that to the date dimension.
So in order for the slicer to not filter the inventory I had to make a measure:
Solved! Go to Solution.
@BenGnichwitz , You should join the other two tables and do not join inventory with the date table, You can filter a month from the date table and sum of other two will be month-wise and inventory will be full
You can also get month value using
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
So you say it should work if I do not creete a relation at all to the dim table from the inventory table? I will need to try this.
What worked for me now is:
@BenGnichwitz , You should join the other two tables and do not join inventory with the date table, You can filter a month from the date table and sum of other two will be month-wise and inventory will be full
You can also get month value using
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
142 | |
108 | |
101 | |
81 | |
74 |