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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
RavikanthV
New Member

Replicate a filter in power bill to the one which was there in Cognos FM

Hi, 

 

I am trying to replicate a filter in cognos FM to power bi. The cognos FM formula for "max c exp dt" Is CD. CD exp date = CD. Max CD exp date

 

Can someone help with this, like how I need to replicate the above cognos filter in power bi. 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @RavikanthV ,

 

Do you want to get the maximum date in the filter:

Select the Date column in Filters .

Filter typeTop N

Show items Top  1

By ValueLastest Date.

 

vyangliumsft_0-1694511945417.png

 

If the above results do not meet your expectations, you can express your expected results in the form of pictures and provide sample data that does not contain sensitive data, we can better help you.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @RavikanthV ,

 

Do you want to get the maximum date in the filter:

Select the Date column in Filters .

Filter typeTop N

Show items Top  1

By ValueLastest Date.

 

vyangliumsft_0-1694511945417.png

 

If the above results do not meet your expectations, you can express your expected results in the form of pictures and provide sample data that does not contain sensitive data, we can better help you.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

RavikanthV
New Member

Hi Chirag, 

 

Thanks for the reply and suggestion. 

May be, I have not framed my question properly. 

 

I am looking to replicate the said filter on the filter pane. 

 

Thanks, 

Ravikanth

ChiragGarg2512
Solution Sage
Solution Sage

Try This:

CD. CD exp date =
VAR MaxCDExpDate = MAX(CD[Max CD exp date])
RETURN IF(CD[CD exp date] = MaxCDExpDate, TRUE(), FALSE())

If this doesn't work, please share the sample data.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.