This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi All,
I could use some help creating a calculated column.
I would need the following :
I would like to add a column that devides the total number of leads generated by sales.
This way I would know that 1 lead lead to for example 0.25 sales.
anyone knows how I could caluclate that ?
Robin
Solved! Go to Solution.
@Anonymous , Try a new column like
column =
1/ countx(filter(Table, [salesid] =earlier([salesid]), [salesid])
Nevermind! for some reason, the decimals were set to 0 when switching between the 2 options...
Hi Amit,
That seemd the good way forard! thanks!
I got the result i wanted, but I still have a question about strange behaviour i cannot explain.
The above column returns this result :
And that is the way it should! so thats good. But when i change BLANK() to 0 , I get the following result :
Why is this??
Robin
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 20 | |
| 19 |