The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi
I have a cumulative total bar chart comparing proposals sent from 2021 to 2022. In September there were no proposals sent. How do you carry accross the same value for August so that September is not left blank?
Thank you
Solved! Go to Solution.
Hi @Anonymous
I don't think this can be achieved without the use of a Date Table. Using a Date Table you can slice by [Month Name]
Running total 2022 new =
COALESCE (
[Running total 2022],
CALCULATE (
[Running total 2022],
ALL ( 'Date'[Month Name] ),
'Date'[YearMonth Rank]
= MAX ( 'Date'[YearMonth Rank] ) - 1
)
)
Hi @Anonymous
I don't think this can be achieved without the use of a Date Table. Using a Date Table you can slice by [Month Name]
Running total 2022 new =
COALESCE (
[Running total 2022],
CALCULATE (
[Running total 2022],
ALL ( 'Date'[Month Name] ),
'Date'[YearMonth Rank]
= MAX ( 'Date'[YearMonth Rank] ) - 1
)
)
@Anonymous
You can use the [Month Number] column but that won't work in case the blank month is January and you want to return December of the previous year.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |