Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 7 | |
| 5 |