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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Lobs
Helper II
Helper II

%IMpact

Hi, 

 

Im trying to get the impact of my survey mix to the percent to goal total using a measure. 

 

Lobs_1-1652187670535.png

But i always end up hitting the survey mix on the same row/line of the current PTG value instead of the total. 

 

In Excel it would normally be calculated like this

Lobs_0-1652187645402.png

 

1 ACCEPTED SOLUTION
TheoC
Super User
Super User

Hi @Lobs 

 

To get the "cell locked" like you would in Excel for the total (i.e. if total was in A1 you would use $A$1), you need to tell Power BI to ignore all filters in your measure.  You can use the below:

 

_mImpact = 

VAR _1 = SUM ('Table'[PTG NPS] )
VAR _2 = CALCULATE ( SUM ('Table'[% Survey Mix] ) , ALL ('Table' ) )

VAR _3 = DIVIDE ( _1 , _2 )

RETURN

_3
Output will be like below:
 
TheoC_0-1652239452597.png

 

I've attached a PBIX for further assistance as well.

Thanks,

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

View solution in original post

5 REPLIES 5
TheoC
Super User
Super User

Hi @Lobs 

 

To get the "cell locked" like you would in Excel for the total (i.e. if total was in A1 you would use $A$1), you need to tell Power BI to ignore all filters in your measure.  You can use the below:

 

_mImpact = 

VAR _1 = SUM ('Table'[PTG NPS] )
VAR _2 = CALCULATE ( SUM ('Table'[% Survey Mix] ) , ALL ('Table' ) )

VAR _3 = DIVIDE ( _1 , _2 )

RETURN

_3
Output will be like below:
 
TheoC_0-1652239452597.png

 

I've attached a PBIX for further assistance as well.

Thanks,

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Thank you, ill give this a try, however my SurveyMix and PTG NPS are measures would the approach be the same?

@Lobs yeah, should be the same logic just change the SUM (...) to the [measure]. Everything else should be good. If it doesn't work, I'll send through solution when I'm in front of computer next.

 

Cheers,

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Finally, i can sleep 🙂 the ignoring filters paved the way, appreciate it

 

Lobs_1-1652262256718.png

 

Lobs_2-1652262268129.png

 

 

 

 

@Lobs glad it worked out! All the best! Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.