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

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.

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
Super User
Super User

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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