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
admin11
Memorable Member
Memorable Member

May i know if last year company lost 100K and Current year lost 10K it is consider growth ?

Hi All

 

May i know which of the below expression i should use ?

 

Below expression will display -ve growth :-

Vari %_NP = if(isblank( divide([SUM_YTD]-[SUM_LYTD],[SUM_LYTD])),1, divide([SUM_YTD]-[SUM_LYTD],[SUM_LYTD]))
 
Below expression will display +ve growth :-
Vari %_ = divide([SUM_YTD]-[SUM_LYTD],abs([SUM_LYTD]),1)
 
Paul Yeo
1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

@admin11 

Hi Paul,

I'm not sure what question you are asking.

The 2 pieces of DAX you've written will show you change (growth?) compared to last year - and are virtually identical except one may give a a minus sign in front of the number.

But if the real question is given that in a previous year a company lost 100K and then in the following year 'only' lost 10K - do you consider growth?  Personally I guess I would consider that improvment (growth) but the answer really depends on your own business and what its targets are.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

@admin11 

Hi Paul,

I'm not sure what question you are asking.

The 2 pieces of DAX you've written will show you change (growth?) compared to last year - and are virtually identical except one may give a a minus sign in front of the number.

But if the real question is given that in a previous year a company lost 100K and then in the following year 'only' lost 10K - do you consider growth?  Personally I guess I would consider that improvment (growth) but the answer really depends on your own business and what its targets are.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy 

Thank you 

I just want to just confirmation 

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.