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
anjanikumar
Helper II
Helper II

Below Cognos Expressions need to convert this to Power Bi Dax.

Below Cognos Expressions need to convert this to Power Bi Dax.

 

1 [Fiscal Year and Period] Between #sq($Jarvis_Parameter_Map_Non_Dates{'PRIOR_PREV_FISCAL_PERIOD'})# and       #sq($Jarvis_Parameter_Map_Non_Dates{'CURR_PREV_FISCAL_PERIOD'})#

 

2     percentage ([Invoice Sales] for [Fiscal Year and Period])

 

Jarvis_Parameter_Map_Non_Dates is table.

1 ACCEPTED SOLUTION
v-binbinyu-msft
Community Support
Community Support

Hi @anjanikumar ,

Please try below dax formula, but  you need adjust it  according to your environment

1. 

a =
FILTER (
    ALL ( 'Jarvis_Parameter_Map_Non_Dates' ),
    [Fiscal Year and Period] >= 'Jarvis_Parameter_Map_Non_Dates'[PRIOR_PREV_FISCAL_PERIOD]
        && [Fiscal Year and Period] <= 'Jarvis_Parameter_Map_Non_Dates'[CURR_PREV_FISCAL_PERIOD]
)

2.

b =
DIVIDE ( [Invoice Sales], [Fiscal Year and Period] )

 

Best regards,
Community Support Team_ Binbin Yu
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

1 REPLY 1
v-binbinyu-msft
Community Support
Community Support

Hi @anjanikumar ,

Please try below dax formula, but  you need adjust it  according to your environment

1. 

a =
FILTER (
    ALL ( 'Jarvis_Parameter_Map_Non_Dates' ),
    [Fiscal Year and Period] >= 'Jarvis_Parameter_Map_Non_Dates'[PRIOR_PREV_FISCAL_PERIOD]
        && [Fiscal Year and Period] <= 'Jarvis_Parameter_Map_Non_Dates'[CURR_PREV_FISCAL_PERIOD]
)

2.

b =
DIVIDE ( [Invoice Sales], [Fiscal Year and Period] )

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.