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.
Hi all
I have gone through several threads trying to find what I want but I did not get a solution for my case (sorry if the solution has already been given to someone else).
I have a table like the below.
Product Inital Date End Date Value
AAAAA 01/01/2022 31/01/2022 60
AAAAA 01/02/2022 28/02/2022 50
AAAAA 01/03/2022 31/03/2022 70
Also, I have a Dates table whose relations with the Initial Date and End Date columns of this Table are inactive (otherwise I mess other stuff).
I want to create a matrix which shows the values for any given date. Like the one below.
Product 15/01/2022 31/01/2022 08/02/2022
AAAAAA 60 60 50
Thanks for your assistance
Solved! Go to Solution.
@jtemes , try a measure like this with date table
calculate(sumx(filter(Table, Table[End Date] <= Max('Date'[Date])), Table[Value]), crossfilter(Table, Date, none))
@jtemes , try a measure like this with date table
calculate(sumx(filter(Table, Table[End Date] <= Max('Date'[Date])), Table[Value]), crossfilter(Table, Date, none))
The issue is that the table has more columns with other data and, if I do that, these data would be inaccurate.
in power query add colum {Number.From(Inital Date) ..Number.From(End Date)} and expand
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |