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
GAPER
Helper V
Helper V

How do exclude a certain row's calculation in a Matrix?

Hi all, here is my data structure

 

GAPER_0-1708301268033.png

 

How do i create a generic fomula for Multiple in PowerBI to exclude A from it? (i.e., excluding A when applying the fomula in column E but keep C and D including A)

 

Thanks. 

1 ACCEPTED SOLUTION

Hi,

Try these measures

Ratio = divide([cash inflow],[cash outflow])

Ratio final = calculate([Ratio],Data[Project]<>"Project A")

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
GAPER
Helper V
Helper V

I need to exclude Project A from the total calculation.

Hi,

Try these measures

Ratio = divide([cash inflow],[cash outflow])

Ratio final = calculate([Ratio],Data[Project]<>"Project A")

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

I am not clear about what you want.  Assuming Cash inflow and Cash outflow are measure, write this measure

Measure = divide([Cash inflow],[cash outflow])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.