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.
Hi Community,
I would like to ask for your help.
I want to get my total values for selected values this financial year then adding last year total values but ignoring the quarter and year slicer.
This should be the values for this FY
And I want to get this value for LY comparing them side by side with the selected quarter for this FY in tables
Solved! Go to Solution.
Hello @kristel_tulio
@kristel_tulio I hope this helps you, Thank You!
Hi @kristel_tulio ,
First of all, many thanks to @Mahesh0016 for your very quick and effective replies, and I will give some additions below:
1.Create the sample table.
2.Create the new measure to calculate FY.
Total_Fy = CALCULATE (
SUM ('Table'[Values]),
FILTER (
ALL ('Table'),
'Table'[Year] < SELECTEDVALUE('Table'[Year]) || ('Table'[Year] = SELECTEDVALUE('Table'[Year]))
&& 'Table'[Month] <= SELECTEDVALUE('Table'[Month])
)
)
3.Create the new measure to calculate LY.
Total_LY = CALCULATE (
SUM ('Table'[Values]),
FILTER (
ALL ('Table'),
'Table'[Year] = (SELECTEDVALUE('Table'[Year]) - 1)
)
)
4.Drag the measure into the card visual.
5.Select the year and month. The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kristel_tulio ,
First of all, many thanks to @Mahesh0016 for your very quick and effective replies, and I will give some additions below:
1.Create the sample table.
2.Create the new measure to calculate FY.
Total_Fy = CALCULATE (
SUM ('Table'[Values]),
FILTER (
ALL ('Table'),
'Table'[Year] < SELECTEDVALUE('Table'[Year]) || ('Table'[Year] = SELECTEDVALUE('Table'[Year]))
&& 'Table'[Month] <= SELECTEDVALUE('Table'[Month])
)
)
3.Create the new measure to calculate LY.
Total_LY = CALCULATE (
SUM ('Table'[Values]),
FILTER (
ALL ('Table'),
'Table'[Year] = (SELECTEDVALUE('Table'[Year]) - 1)
)
)
4.Drag the measure into the card visual.
5.Select the year and month. The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @kristel_tulio
@kristel_tulio I hope this helps you, Thank You!
Hi @Mahesh0016,
Thank you for responding, but it still not giving me the result I need which ignoring the date slicer.
@kristel_tulio @Anonymous have you done the Date table to Mark as a Date table?
If you didn't following :
Step 2 = Create Date Key Column in Date table and Value table
DateKeys = INT(
FORMAT( Date[Date],"YYYYMMDD")
)
same in value table with value date column.
Step 3 :
Make relantionship between Value table and Date table using "DateKeys" column.
Step 4 : Create others column in Date table as per your need like Year, Month, etc...
Step 5 : Create Measuers for FY & LY
Hi @Mahesh0016 and @Anonymous ,
Thank you both for responding. But I think it won't work with the type of report that I have. But I already figured it out and do work around. I might use your suggested calculation in future. Thanks again for helping out!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |