The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a column "sales" in dataset "data" and whether sale was made or not (1 = sales, 0 = no sales)
I am trying to create two measures for "sale" and "no sale"
I tried:
No sale = COUNTROWS(FILTER(data,data[sales] = "0")) but i get an error saying filter is not the correct syntax
this usually works based off text but im not sure how to do it by number
looking through power bi forum found another measure:
Solved! Go to Solution.
@Anonymous this should work (whatever you are doing) without any issue.
Take a look here and post the pbix/sample data here for debugging
Thank you!! Worked beautifully
@Anonymous this should work (whatever you are doing) without any issue.
Take a look here and post the pbix/sample data here for debugging