Forum Discussion
Get Distinct Call ID's when same call ID is in different transfer Numbers
- 3 years ago
Hi, Anonymous
You can create a second mesure based on the first measure , like this:
Measure 2 = SUMX( VALUES('Table'[Transfer No]), [Measure])Then we can meet your need:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , Anonymous
Here are the steps you can refer to :
(1)We can click " New Column" to create a calculated column :
Max No = var _id = [Call ID]
var _t = FILTER( 'Table', 'Table'[Call ID] =_id)
return
MAXX(_t , [Transfer No])
(2)Then we can create a measure :
Measure = var _curNo = MAX('Table'[Transfer No])
var _t=DISTINCT(SELECTCOLUMNS( FILTER( ALLSELECTED('Table') , 'Table'[Max No] =_curNo) ,"Call ID" , [Call ID]))
return
COUNTROWS(_t)+0
(3)Then we can put the measure on the visual and we can meet your need:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- v-yueyunzh-msft3 years ago
Community Support
Hi, Anonymous
You can create a second mesure based on the first measure , like this:
Measure 2 = SUMX( VALUES('Table'[Transfer No]), [Measure])Then we can meet your need:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly