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
RichOB
Post Patron
Post Patron

Need help adjusting a measure to change column outcome

Hi, I am comparing 24/25 VS 25/26 cases to get the % change.

 

When the Cases25/26 row is blank, is there a way to have the Case% as empty, or a 0% instead of -100%? The Cases% column is a measure of " = Cases_diff / Cases24/25" so I understand that it naturally gives the minus value currently. 

 

cases%.png

Thanks

1 ACCEPTED SOLUTION
burakkaragoz
Community Champion
Community Champion

Hi @RichOB ,

 

Great question! totally get what you’re after. When the Cases25/26 value is blank, you don’t want your Case% column showing -100% (or any weird number), but maybe just blank or 0% instead.

You can tweak your DAX measure bit to handle this. Try something like this:

dax
 
Case% = IF(
    ISBLANK([Cases25/26]),
    BLANK(), // or put 0 if you want to show 0%
    [Cases_diff] / [Cases24/25]
)

This way, if Cases25/26 is blank, your Case% will also be blank (or if you prefer). Otherwise, it’ll calculate as usual.

Let me know if this works for you or if you want it to behave little differently! Happy to help tweak it.

Thanks!
translation and formatting supported by AI

View solution in original post

5 REPLIES 5
v-achippa
Community Support
Community Support

Hi @RichOB,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @burakkaragoz and @Ahmedx for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user's resolved your issue? or let us know if you need any further assistance.
If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @RichOB,

 

We wanted to kindly follow up to check if the solution provided by the super user's resolved your issue.

If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @RichOB,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user's resolved your issue.
If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

burakkaragoz
Community Champion
Community Champion

Hi @RichOB ,

 

Great question! totally get what you’re after. When the Cases25/26 value is blank, you don’t want your Case% column showing -100% (or any weird number), but maybe just blank or 0% instead.

You can tweak your DAX measure bit to handle this. Try something like this:

dax
 
Case% = IF(
    ISBLANK([Cases25/26]),
    BLANK(), // or put 0 if you want to show 0%
    [Cases_diff] / [Cases24/25]
)

This way, if Cases25/26 is blank, your Case% will also be blank (or if you prefer). Otherwise, it’ll calculate as usual.

Let me know if this works for you or if you want it to behave little differently! Happy to help tweak it.

Thanks!
translation and formatting supported by AI

Ahmedx
Super User
Super User

you need use DIVIDE ( Cases_diff , Cases24/25")
https://learn.microsoft.com/ru-ru/dax/divide-function-dax

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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