The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello good morning. I have a table in which are lines of orders but less this is the table:
And I would like a measure that would give me back the active customers I have. I would have to return that I have 2 active Customers A and C
How could I do it?
Thank you very much, solved!
You can use @Idrissshatila 's measure to count the number of active customers
Measure = CALCULATE(DISTINCTCOUNT(cliente),(estado Cliente) = "Activo")
And use a slicer on the column estado Cliente to display them in the same table.
Note that if you'd like to only see the active clients and don't have a need to display the others on this page, you can directly put a filter "estado Cliente is Activo" on the table.
Hello @Syndicate_Admin ,
Try this
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |