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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
1984
Frequent Visitor

COUNTROWS USING FILTER ISSUE

Hi Community 

 

Im trying to add an additional filter to an existing countrow + filter column and have some issues I could do with some support if possible.

 

So my column is currently:

Column = CALCULATE(
COUNTROWS('INSTALL'),
FILTER('INSTALL',
'INSTALL'[Installation_Date__c] = 'Actuals Summary 23-24'[MMM-YY])
)

 

and I would like to add an additional filter to it I have tried two variations as follows:

COLUMN = CALCULATE(
COUNTROWS('INSTALL'),
FILTER('INSTALL',
'INSTALL'[Installation_Date__c] = 'Actuals Summary 23-24'[MMM-YY])

&&

FILTER('JOB',
'JOB'[Code]="POSS")
)


COLUMN = CALCULATE(
COUNTROWS('INSTALL'),
FILTER('INSTALL', 'JOB',
'INSTALL'[Installation_Date__c] = 'Actuals Summary 23-24'[MMM-YY]||'JOB'[Code]="POSS")
)

 

Unfortuantely both don't work.

2 REPLIES 2
saurabhtd
Resolver II
Resolver II

@1984 Is INSTALL a fact and JOB a dimension and both have relationship between them ?

@saurabhtd They are both fact tables and connect via many to one relationship there is a third fact table between the two

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Kudoed Authors