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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

SUMPRODUCT with multiple filter in DAX

 Hi Experts,

 

Please hava a look, Is it possible to convert the bellow formula into DAX,

 

=IFERROR(SUMPRODUCT(--(Table1[Date]=$B44),--(Table1[Col1]=$B$1),Table1[Col2],Table1[Col3])/SUMPRODUCT(--(Table1[Date]=$B44),--(Table1[Col1]=$B$1),Table1[Col3]),NA())

 

Regrads,

K.M.S.S

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Did it help? Can you mark it as an answer?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Can you share a sample of your data? The pbix file would be great. We can't write a DAX formula without data. 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Dale,

 

Thanks for your quick response.

 

Please find attached excel file:

 

https://drive.google.com/file/d/1CqjoexLq323bofzRyphDrPME8ux52vvX/view?usp=sharing

https://drive.google.com/file/d/1CqjoexLq323bofzRyphDrPME8ux52vvX/view?usp=sharing

 

 

I could not export the excel file data into PBI, as the file's data tab is interlinked with Table11 tab's data with Pivot table.

 

Please help me to create the complete tables in PBI with DAX.

 

Regards,

Salem

Hi @Anonymous,

 

Please check out the demo in the attachment.

1. It seems the formula isn't consistent with your data. So I can't build the DAX formula. Can you make it more clear, please?

2. We can import the excel data by the connector "Excel".

3. The table Data could be as follows. (I can't find "C11" and "C22" neither.)

Data =
SUMMARIZE (
    'Table1',
    Table1[COL5],
    "sum of c11", SUM ( 'Table1'[COL11] ),
    "sum of c22", SUM ( Table1[COL12] )
)

Best Regards,

Dale

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors