Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
9fsabor
Regular Visitor

How to create constant value for all the years

Hello, 

 

I tried to have a fixed amount for all the months. I somehow able to show it up but only for the year Fy21. I don't know why it is not showing up in Fy22. Any idea? Thank you. 

 

 

PBI.PNG

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

Hi,

It looks like you're removing Period from the filter context but that will leave you Financial Year active.

From your picture June 2021 not in FY 2022 and so there is no result.

 

A picture of your date table would help.

 

What happens if you do this:

 

Base Amount for Portfolio Trend = 
    CALCULATE(
        [Outstanding_Loans_Amount],
        'Date'[Month Year 2] IN { "Jun 2021" },
        REMOVEFILTERS('Date')
    )

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

3 REPLIES 3
bcdobbs
Community Champion
Community Champion

Hi,

It looks like you're removing Period from the filter context but that will leave you Financial Year active.

From your picture June 2021 not in FY 2022 and so there is no result.

 

A picture of your date table would help.

 

What happens if you do this:

 

Base Amount for Portfolio Trend = 
    CALCULATE(
        [Outstanding_Loans_Amount],
        'Date'[Month Year 2] IN { "Jun 2021" },
        REMOVEFILTERS('Date')
    )

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Hello! It's working now! Thank you so much! 

 PBI.PNG

ValtteriN
Super User
Super User

Hi, 

My first insctinct is to put ALL before the filter condition and remove [period] from the measure. It is pretty difficult to get to the root of the problem without seeing the Date table.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.