March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi there,
I am attempting to do a simple calculation to understand the number of Keys created per headcount. Headcount values are in a column as below, and the table below shows the Count of these Keys. Therefore I would like to Divide "Count of Key" by Headcount. These columns are in separate tables and the relationship is Many:Many (default) with a Single direction (Headcount table filters Key Table) - which was done by default.
So far all of my attempts have caused the visualisation to fail. Any help is very much appreciated. Thanks
Solved! Go to Solution.
@Anonymous
Your Headcount column is Text. Change it to Whole Number.
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
Proud to be a Super User!
@Anonymous
Your Headcount column is Text. Change it to Whole Number.
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
Proud to be a Super User!
Thanks - unfortunately i am still struggling. I have merged the query into the same table so its now a single table.
DAX is = DIVIDE(COUNT(Table1[Key]),SUM(Table1[Headcount])
I get the below error:
@Anonymous , difficult to tell, but better to create one or more bridge table and anayze on that.
Across common param
new measures = divide([Count of Key],[Headcount]) // Both are measures
https://www.seerinteractive.com/blog/join-many-many-power-bi/
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |