Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
@Anonymous , 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:
@Anonymous , 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]))
User | Count |
---|---|
76 | |
75 | |
45 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |