Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
AttachRate = DISTINCTCOUNT('Opportunity _dim'[Ops_Line_dim.Opp.Id])/DISTINCTCOUNT('Opportunity _dim'[Id])
Solved! Go to Solution.
Hi,
Try this measure
Hi,
Could you please explain what attachrate is? I can see from your formula that you are dividing 2 distinctcount of ID measures but that should be 100% - so i do not see a problem. Perhaps, i need to understand what attach rate actually is.
Hi,
In the Opportunity_dim table, there should be a Department column.
@Ashish_Mathur Opportunity table does not come with a Department column. Is there a way we can create a separate column for each department? I am not sure just wondering how to do this. Thanks
Hi,
Try this measure
@Ashish_Mathur Thank you so much, this looks promising. So you did join with two tables on Manage Relationships?
No. I just edited your measure (posted in the previous message).
@Ashish_Mathur Again, thank you for the quick response. I was working on it and,
In this case, it is going to count duplicates right and give us a kinda wrong attach rate. Please correct me If I am wrong if Opttunity Line has two departments ( For Ex, Opps ID xyz = product and xyz = Education) Then we join this to matin Opttunitry table, it will show 2 rows. When we do a" countrows", it will take/count duplicates as well right? Please let me know if I am confusing you.
Hi,
In the denominator, it will simply count all the rows in the Opportunity_Dims Table.
@Ashish_Mathur Thank you so much for your help. this works. I really appreciate your time.
You are welcome.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
67 | |
65 | |
57 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |