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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Arrow2727
New Member

DAX

Hey hai everyone,
I Need a dax meausre for the following excel formula

=SUMIFS('ST PFP Report'!$G:$G,'ST PFP Report'!$D:$D,$A3,'ST PFP Report'!$K:$K,">0",'ST PFP Report'!$C:$C,"*Commercial*")+SUMIFS('ST PFP Report'!$H:$H,'ST PFP Report'!$D:$D,'PFP Residential'!$A3,'ST PFP Report'!$K:$K,">0",'ST PFP Report'!$C:$C,"*Commercial*")
  i had tried with below meuasure but im not getting desired values as out put 

Total =
SUMX(
FILTER(
'ST PFP Report',
'ST PFP Report'[D] = SELECTEDVALUE('PFP Residential'[A3]) &&
'ST PFP Report'[K] > 0 &&
CONTAINS('ST PFP Report'[C], "Commercial")
),
'ST PFP Report'[G]
)
+
SUMX(
FILTER(
'ST PFP Report',
'ST PFP Report'[D] = SELECTEDVALUE('PFP Residential'[A3]) &&
'ST PFP Report'[K] > 0 &&
CONTAINS('ST PFP Report'[C], "Commercial")
),
'ST PFP Report'[H]

colud any one please help me please

 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share some data to work with and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-zhangti
Community Support
Community Support

Hi, @Arrow2727 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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.