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
I have a large table that is similar to the one below. My desired visual will have the difference between the best and worst driller's connections times on each rig. I've attempted to use the Summarize function and creating new tables and relationships in my data model, but I can't seem to put it together to get what I'm looking for.
Desired Visual will be a table that will look like this, but with the final number instead of the equation, but I put the equation in to hopefully be more clear about what I'm trying to make happen.
Also, would it be any different if the initial table in this was already summarized from another table?
Thanks!
Solved! Go to Solution.
My approach would be to keep the table you have in your post, and create some measures. I played around with your table and created these measures (I called the table DrillTime):
Best Time = MIN ( DrillTime[Connection Time] ) Worst Time = MAX ( DrillTime[Connection Time] ) Time from Best = [Worst Time] - [Best Time] Worst Driller = CONCATENATEX ( TOPN ( 1, VALUES ( DrillTime[Driller] ), CALCULATE ( AVERAGE ( DrillTime[Connection Time] ) ), DESC ), DrillTime[Driller], ", ", DrillTime[Driller] )
If I put these in a table with Rig I get:
Note that Worst Driller concatenates ties.
Are you able to get these working? I can post a link to my model later today if useful.
Regards,
Owen 🙂
Thanks, I wound up using your expression to get the names!
My approach would be to keep the table you have in your post, and create some measures. I played around with your table and created these measures (I called the table DrillTime):
Best Time = MIN ( DrillTime[Connection Time] ) Worst Time = MAX ( DrillTime[Connection Time] ) Time from Best = [Worst Time] - [Best Time] Worst Driller = CONCATENATEX ( TOPN ( 1, VALUES ( DrillTime[Driller] ), CALCULATE ( AVERAGE ( DrillTime[Connection Time] ) ), DESC ), DrillTime[Driller], ", ", DrillTime[Driller] )
If I put these in a table with Rig I get:
Note that Worst Driller concatenates ties.
Are you able to get these working? I can post a link to my model later today if useful.
Regards,
Owen 🙂
Thanks! I've got my table up and running!
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 |
---|---|
133 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |