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.
I have a table with the following columns
I need to put a wave matrix visual for each product, the value in the January column will be the value of the first date in February, in February it will be the value of the first date in March. In other words, the value in each month will always be the value of the first date of the following month. How could I do?
Solved! Go to Solution.
Based on your question, here is my proposed method.
However, since your date column is broken down to days. Therefore the results may be somewhat different from your expectations.
Here's some dummy data
"Table"
Create a measure.
Measure = var _month = MONTH(SELECTEDVALUE('Table'[Date]))
RETURN
CALCULATE(MIN('Table'[Value]),
FILTER(
ALL('Table'),
MONTH('Table'[Date]) = _month + 1
&&
'Table'[Product] = MAX('Table'[Product])
)
)
Create a matrix.
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Based on your question, here is my proposed method.
However, since your date column is broken down to days. Therefore the results may be somewhat different from your expectations.
Here's some dummy data
"Table"
Create a measure.
Measure = var _month = MONTH(SELECTEDVALUE('Table'[Date]))
RETURN
CALCULATE(MIN('Table'[Value]),
FILTER(
ALL('Table'),
MONTH('Table'[Date]) = _month + 1
&&
'Table'[Product] = MAX('Table'[Product])
)
)
Create a matrix.
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |