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.
Hi @appsac1
You can try using CALCULATE function along with FILTER function. Here's an example of how you can modify your formula to achieve the desired result:
SQL Flag = IF('Lead Tracker'[Lead type] = "SQL", 1, 0)
Create a measure to count the SQL leads based on the filtered context:
SQL Count = CALCULATE(SUM('Lead Tracker'[SQL Flag]))
Create another measure to count all leads based on the filtered context:
Total Leads Count = CALCULATE(SUM('Lead Tracker'[Count rows]))
Finally, create a measure to calculate the conversion rate:
Conversion Rate = DIVIDE([SQL Count], [Total Leads Count])
Thank you
Hope this will help you.
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |