Hello!, Please I ask fro support in applying function for specific element DAX.
I Have a column called LOB, contains 11 elements "Criteria"
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]LOB[/TD]
[/TR]
[TR]
[TD]Business[/TD]
[/TR]
[TR]
[TD]Golden Customers[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[/TR]
[TR]
[TD]Reapers[/TD]
[/TR]
[TR]
[TD]TEData-Sales[/TD]
[/TR]
[TR]
[TD]TEData-Sales "Subscription"[/TD]
[/TR]
[TR]
[TD]WE[/TD]
[/TR]
[TR]
[TD]Xceed-UP Q[/TD]
[/TR]
[TR]
[TD]Xceed-Basic[/TD]
[/TR]
[TR]
[TD]Xceed-Sales[/TD]
[/TR]
</tbody>[/TABLE]
I need to create a measure called AHT, but to be specified based on LOB, e.g
For Below LOBs I need to Use measure: AHT:=(((([Sum of ACD Time]+[Sum of ACW Time]+[Sum of Hold Time])-[Sum of ACWOUTOFFTIME])/86400)/[Sum of ACD Calls])
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Business[/TD]
[/TR]
[TR]
[TD]Golden Customers[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[/TR]
[TR]
[TD]Reapers[/TD]
[/TR]
[TR]
[TD]TEData-Sales[/TD]
[/TR]
[TR]
[TD]TEData-Sales "Subscription"[/TD]
[/TR]
[TR]
[TD]WE[/TD]
[/TR]
</tbody>[/TABLE]
but for below LOBs I need to apply this function to the same measure
AHT:=((([Sum of ACD Time]+[Sum of ACW Time]+[Sum of Hold Time])/86400)/[Sum of ACD Calls])
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Xceed-UP Q[/TD]
[/TR]
[TR]
[TD]Xceed-Basic[/TD]
[/TR]
[TR]
[TD]Xceed-Sales[/TD]
[/TR]
</tbody>[/TABLE]
I Have a column called LOB, contains 11 elements "Criteria"
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]LOB[/TD]
[/TR]
[TR]
[TD]Business[/TD]
[/TR]
[TR]
[TD]Golden Customers[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[/TR]
[TR]
[TD]Reapers[/TD]
[/TR]
[TR]
[TD]TEData-Sales[/TD]
[/TR]
[TR]
[TD]TEData-Sales "Subscription"[/TD]
[/TR]
[TR]
[TD]WE[/TD]
[/TR]
[TR]
[TD]Xceed-UP Q[/TD]
[/TR]
[TR]
[TD]Xceed-Basic[/TD]
[/TR]
[TR]
[TD]Xceed-Sales[/TD]
[/TR]
</tbody>[/TABLE]
I need to create a measure called AHT, but to be specified based on LOB, e.g
For Below LOBs I need to Use measure: AHT:=(((([Sum of ACD Time]+[Sum of ACW Time]+[Sum of Hold Time])-[Sum of ACWOUTOFFTIME])/86400)/[Sum of ACD Calls])
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Business[/TD]
[/TR]
[TR]
[TD]Golden Customers[/TD]
[/TR]
[TR]
[TD]NC[/TD]
[/TR]
[TR]
[TD]Reapers[/TD]
[/TR]
[TR]
[TD]TEData-Sales[/TD]
[/TR]
[TR]
[TD]TEData-Sales "Subscription"[/TD]
[/TR]
[TR]
[TD]WE[/TD]
[/TR]
</tbody>[/TABLE]
but for below LOBs I need to apply this function to the same measure
AHT:=((([Sum of ACD Time]+[Sum of ACW Time]+[Sum of Hold Time])/86400)/[Sum of ACD Calls])
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Xceed-UP Q[/TD]
[/TR]
[TR]
[TD]Xceed-Basic[/TD]
[/TR]
[TR]
[TD]Xceed-Sales[/TD]
[/TR]
</tbody>[/TABLE]
![Capture_5390.png](/board/proxy.php?image=http%3A%2F%2Fimgh.us%2FCapture_5390.png&hash=82cff2cc68121705ccafb627bc6ff40f)
Last edited: