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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dofrancis3
Helper I
Helper I

Display last dates values

Hello Colleagues!

Please i need your help about the following:

I have already a mesure witch contain my pourcentage (in the first column) so, i would like a mesure who will display only pourcentage of last date highlight in yellow in the printscreen below:

Note: I don’t need to calculate pourcentage but just display.

 

dofrancis3_0-1710847542745.png

 

Thank for your support.

7 REPLIES 7
v-yohua-msft
Community Support
Community Support

Hi, @dofrancis3 

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

Best Regards

Yongkang Hua

Dangar332
Super User
Super User

hi, @dofrancis3 

 

try below measure

 

latest_date=
calculate( 
    [your measure],
    max(table[startdate],
    allexcept(table,table[table[country]])
)





 

Dangar332
Super User
Super User

hi, @dofrancis3 

 

not sure but try below code for measure

latest_date=
 maxx(
          filter(
            all(table[country],table[stratdate]),
            table[country]=max(table[country])
          ),
          table[startdate]
 )

 

now make table visual and drag your country column and percantage measure and  above latest_date measure

It doen't work unfortnatly 

Daoud_H
Helper I
Helper I

Hi @dofrancis3,

 

Maybe this will do the trick, try to create a column : 

LastDatePercentage = 
VAR LatestDate = MAX('YourTableName'[Start date])
RETURN
CALCULATE(
    MAX('YourTableName'[LQAS]),
    FILTER(
        'YourTableName',
        'YourTableName'[Start date] = LatestDate
    )
)

 

Dear @Daoud_H it doen't work note that is a mesure

dofrancis3_0-1710917729930.png

 

dofrancis3
Helper I
Helper I

Hello Guy!

 

Please support...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors