Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi ,
I am trying to convert excel fromulas inot power bi. Can u please help in convert this.
1.COUNTIFS([@[REJECTED_DATE]],">0")
2.COUNTIFS(Table1[@[ESCAL_TO1]:[ESCAL_TO3_DT]],">0")
can u tell for the below excel formula COUNTIFS(Table1[@[ESCAL_TO1]:[ESCAL_TO3_DT]],">0") to convert to power bi
if datatypes are different
Hi, Second formula actually
Hi ,
Thanks for the reply.
But for the first formula mentioned if i use it am getting wrong value for my data set . May i know what could be reason.
I don't know. I'd need to see your file to see what is going on. Can you provide it please.
regards
Phil
Proud to be a Super User!
It is resolved isntead i created custom column instead measure column. it resolved my issue now. how can i keep blank values count to 0
For the 1st one you can use
COUNTIF Rejected Date = CALCULATE(COUNTROWS('DataTable'), FILTER('DataTable', NOT(ISBLANK('DataTable'[Rejected_Date]))))
For the 2nd one use something like this. You'll need to list the columns in your table separately in the formula. My dummy table has 3 columns that need to be checked.
COUNTIFS = CALCULATE(COUNTROWS('DataTable'), FILTER('DataTable', NOT(ISBLANK('DataTable'[Escal_To1])) || NOT(ISBLANK('DataTable'[Escal_To2])) || NOT(ISBLANK('DataTable'[Escal_To3_DT]))))
You can test the date either by using e.g. NOT(ISBLANK('DataTable'[Rejected_Date])) or 'DataTable'[Rejected_Date] > 0
Regards
Phil
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 124 | |
| 107 | |
| 80 | |
| 69 | |
| 67 |