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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.