Pankaj Mishra
New Member
Hi Team,
How to apply countifs formula in Power BI (Using DAX/Power Query/M-Code etc.).
Below is the formula in excel and I want to apply same in power BI.
Checking the condition from different Dimension with multiple condition and count the value in Fact Diimension.
=COUNTIFS('Stage 1'!$D$2:$D$83,"<"&'Stage 2'!A2,'Stage 1'!$E$2:$E$83,">"&'Stage 2'!A2)
Regards,
Pankaj Mishra
How to apply countifs formula in Power BI (Using DAX/Power Query/M-Code etc.).
Below is the formula in excel and I want to apply same in power BI.
Checking the condition from different Dimension with multiple condition and count the value in Fact Diimension.
=COUNTIFS('Stage 1'!$D$2:$D$83,"<"&'Stage 2'!A2,'Stage 1'!$E$2:$E$83,">"&'Stage 2'!A2)
Regards,
Pankaj Mishra