Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I'm trying to find a way to display the best historical preformance for some company metrics. The data is from a SQL server and comes in two parts. A numerator value and a denominator value. However, there are multiple values per work day and in order to be accurate, the numerators and denominators from a specific work day must first be summed before being divided.
Currently, I am able to display the data by creating a relationship to a table that is a list of individual work days so by creating a 1:Many relationship I can do the calculation using a measure (shown below)
Solved! Go to Solution.
Hello @Anonymous,
1. Create a measure to calculate the numerator and denominator sum for each work day:
NumeratorSum = SUM(AHS_SHM[Cycle_Time_Numerator]) DenominatorSum = SUM(AHS_SHM[Cycle_Time_Denominator])
2. Create a measure to calculate the SHM value using the numerator and denominator sums:
AHS SHM CT = DIVIDE([NumeratorSum], [DenominatorSum], 0)
3. Create a measure to find the all-time maximum SHM value:
MaxSHM = MAXX(ALL('AHS_SHM'[WorkDay]), [AHS SHM CT])
Let me know if you might need further assistance.
Hello @Anonymous,
1. Create a measure to calculate the numerator and denominator sum for each work day:
NumeratorSum = SUM(AHS_SHM[Cycle_Time_Numerator]) DenominatorSum = SUM(AHS_SHM[Cycle_Time_Denominator])
2. Create a measure to calculate the SHM value using the numerator and denominator sums:
AHS SHM CT = DIVIDE([NumeratorSum], [DenominatorSum], 0)
3. Create a measure to find the all-time maximum SHM value:
MaxSHM = MAXX(ALL('AHS_SHM'[WorkDay]), [AHS SHM CT])
Let me know if you might need further assistance.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
82 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
129 | |
108 | |
63 | |
55 |