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
Anonymous
Not applicable

Convert CountIf to Dax

Hello, 

 

I know there are some other post here but reviewing them I am still having issues getitng my data to format correctly. 

 

I am trying to take this formula and get it to work in power bi: =COUNTIF(ProjectInfo!B:B,ProjectInfoCount!B1)

 

Any help would be greatly appriciated. If i figure out an answer I'll post it.

 

Thanks!

 

~Chris

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

Would like something like below? Please download the demo from the attachment? 

Convert-Count-If-to-Dax

 

Best Regards,

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.

View solution in original post

9 REPLIES 9
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Could you please mark the proper answers as solutions?

 

 

Best Regards,

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

Sorry I was going to get to it but have been tied up. 

Ashish_Mathur
Super User
Super User

Hi,

 

Share some data and show the expected result.  I should be able to paste your data in an Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thanks! Here's the expected result in Excel and some data!

 

Expected resultsExpected results

Example Data, Values would be, Yes, No and -    it wouldn't let me upload a fileExample Data, Values would be, Yes, No and - it wouldn't let me upload a file

Hi,

 

I cannot do anything with this.  I need data in a format which i can paste in an Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Sorry for miss understanding, didn't realize pasting data would come into a useable format!

 


Proj Info PD

Proj Info SD

Proj Info DD

Proj Info CD

Proj Info CA
Base Number
-----002002
-----002014
-----003026
-----003043
-----003043
-----003043
-----003060
-----003060
-----003112
-----003112
-----003112
NoNoNoNoNo003113
-----003113
-----003113
NoNoNoNoNo003113
NoNoNoNoNo003113
NoNoNoNoNo003113
-----003113
-----003140
-----003140
-----003140
YesYesYesYesYes003140
YesYesYesYesYes003140
YesYesYesYesYes003140
-----003140
YesYesYesYesYes003140
-----003434
-----003434
NoNoNoNoYes003449
-----003449
-----003449
-----003449
NoNoNoNoNo003526
NoNoNoNoNo003526
-----003569
-----003569
-----003569
-----003569
-----003569
-----003640
-----003640
-----003640

Hi @Anonymous,

 

Would like something like below? Please download the demo from the attachment? 

Convert-Count-If-to-Dax

 

Best Regards,

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.

Hi,

 

I am not clear about your expected result - from your initial post, your expected output is not clear.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thanks! Here's the expected result in Excel and some data!

 

Expected resultsExpected results

Example Data, Values would be, Yes, No and -    it wouldn't let me upload a fileExample Data, Values would be, Yes, No and - it wouldn't let me upload a file

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.