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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Diportee97
Helper I
Helper I

Dax Measure issue

 

IMG_0692.jpeg

IMG_0691.jpeg

  

 

Hello guys,

Recently i ran into a small issue with a power bi

Dashboard,the patient visits growth arrow measure isn’t showing value,it only returned percentage symbol only and not value with percentage,what could be the cause and solution?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Diportee97 ,

 

Try adding a new column 'Year Month Number' in the calendar table and modifying the measure 'Patient visit pm'.

vcgaomsft_0-1740362636593.png

 

 

Patient visit pm = 
VAR __max_year_month =MAX ( 'Calendar'[Year Month Number] )
VAR __result =
    CALCULATE (
        [Patient Visits],
        'Calendar'[Year Month Number] = __max_year_month - 1,
        REMOVEFILTERS('Calendar')
    )
RETURN
    __result

 

 

Output:

vcgaomsft_1-1740362791761.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Diportee97 ,

 

Try adding a new column 'Year Month Number' in the calendar table and modifying the measure 'Patient visit pm'.

vcgaomsft_0-1740362636593.png

 

 

Patient visit pm = 
VAR __max_year_month =MAX ( 'Calendar'[Year Month Number] )
VAR __result =
    CALCULATE (
        [Patient Visits],
        'Calendar'[Year Month Number] = __max_year_month - 1,
        REMOVEFILTERS('Calendar')
    )
RETURN
    __result

 

 

Output:

vcgaomsft_1-1740362791761.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Diportee97
Helper I
Helper I

This is the pbix file of the dashboard,please help me guys,i need a solution https://drive.google.com/file/d/1XUNfliNDJtR96SoQUfzB8VGHnL0KZZY4/view?usp=drivesdk 

Diportee97
Helper I
Helper I

IMG_0693.jpeg

 Here is my expected results 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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