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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Ajithrjaa
Frequent Visitor

Use Case Cenario

Hi All, I have some use case cenario.

Link : https://drive.google.com/file/d/1BKuC0jXpJcEXxG0sse-3lY0RbHEsqfc2/view?usp=sharing

I have table Visual Contains a Columns Fiscal Year, Net Fees, Rank (Rank I have created Based on Month Number)
If my current Fiscal Year Max Month Number is 2 then I wold Like to see Remaing Month <=2 FY2024 and FY2023.

If my current Fiscal Year Max Month Number is 3 then I wold Like to see Remaing Month <=3 FY2024 and FY2023 I dont want Remaing Month Data.

Ajithrjaa_1-1721045365099.png

Ajithrjaa_2-1721045426021.png



expected Out put like

Ajithrjaa_3-1721045535651.png

Column = if('Table'[Rank] <= MAX('Table'[Rank]), 1,0)
max =

  CALCULATE(
    MAX('Table'[Rank]),
    ALL('Table'[Fiscal Year])  // Replace 'Date' with your actual date table name
)

 

 



1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Ajithrjaa - create a below measure for max month number and add it to the table chart.

 

MaxMonthNumber =
CALCULATE(
    MAX('Table'[Rank]),
    FILTER('Table', 'Table'[Fiscal Year] = MAX('Table'[Fiscal Year]))
)
 
rajendraongole1_0-1721051779981.png

 

 

created calculated column as below for filter applied

IsVisible =
IF(
    'Table'[Rank] <=
        CALCULATE(
            MAX('Table'[Rank]),
            FILTER('Table', 'Table'[Fiscal Year] = MAX('Table'[Fiscal Year]))
        ),
    1,
    0
)
 
rajendraongole1_1-1721051828890.png

 

 

Hope it helps

 

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





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

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @Ajithrjaa - create a below measure for max month number and add it to the table chart.

 

MaxMonthNumber =
CALCULATE(
    MAX('Table'[Rank]),
    FILTER('Table', 'Table'[Fiscal Year] = MAX('Table'[Fiscal Year]))
)
 
rajendraongole1_0-1721051779981.png

 

 

created calculated column as below for filter applied

IsVisible =
IF(
    'Table'[Rank] <=
        CALCULATE(
            MAX('Table'[Rank]),
            FILTER('Table', 'Table'[Fiscal Year] = MAX('Table'[Fiscal Year]))
        ),
    1,
    0
)
 
rajendraongole1_1-1721051828890.png

 

 

Hope it helps

 

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





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

Proud to be a Super User!





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.