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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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