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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
DuvanPinilla
New Member

Contar si en Power BI

Buenos dias 

 

Necesito su ayuda para lograr realizar el (CONTAR SI) que se realiza en excel, en power BI

DuvanPinilla_0-1649863533029.png

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @DuvanPinilla ,

 

Here's the sample data I created. You want to count the number of H2 in column H.

vstephenmsft_1-1650271434292.png

You could create a measure.

COUNT IF = CALCULATE(COUNT('Table'[H]),FILTER('Table',[H]="H2"))

vstephenmsft_0-1650271422077.png

 

 

 

Best Regards,

Stephen Tao

 

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

 

View solution in original post

3 REPLIES 3
DuvanPinilla
New Member

Me podrias ayudar con esta formulación, ya que no he podido generar un nuevo foro

 

Necesito obtener los dias de la diferencia de dos fechas teniendo en cuenta los dias habiles, ya logre realizar la columna que muestre la validación de si es dia habil o no.

DuvanPinilla_0-1650643079000.png

 

 

v-stephen-msft
Community Support
Community Support

Hi @DuvanPinilla ,

 

Here's the sample data I created. You want to count the number of H2 in column H.

vstephenmsft_1-1650271434292.png

You could create a measure.

COUNT IF = CALCULATE(COUNT('Table'[H]),FILTER('Table',[H]="H2"))

vstephenmsft_0-1650271422077.png

 

 

 

Best Regards,

Stephen Tao

 

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

 

amitchandak
Super User
Super User

@DuvanPinilla , I think you need a new column

Use correct column name

example

countx(filter(Table, Table[Column H] = earlier([Column H]) ) ,[Column H])

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.