Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dana1
Frequent Visitor

calculate

hello 🙂

 

I have a column of call ID and another column which contains the caller ID of the caller.
I try to calculate the number of calls per user by their ID.
In addition, I want to make a filter that will filter only the 120 callers who make the most calls.
I needed it in measure, I tried in several possible ways but failed.
the ticketnumber is the call id and the institutID is the caller ID- Suggestions?
ללא שם.png
4 REPLIES 4
v-yulgu-msft
Employee
Employee

Hi @dana1,

 

Have you achieved your requirement? If yes, would you please mark the corresponding reply as an answer or share your solution so that it can benefit more users?

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yulgu-msft
Employee
Employee

Hi @dana1,

 

You can create two measures:

number of calls =
CALCULATE (
    DISTINCTCOUNT ( 'Call table'[ticketnumber] ),
    ALLEXCEPT ( 'Call table', 'Call table'[instituteID] )
)

Rank = RANKX(ALL('Call table'),[number of calls],,DESC,Dense)

Then, to filter the 120 callers who make the most calls, under visual level filters pane, set "Rank<=120"

1.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 hi @v-yulgu-msft

 

thank u, it works..

but now im trying to filter it by months in the visual but the data do not change according to the choice of the months..

you can see in the picture that there is no change in the total number of calls when i choose specific months and when i choose an entire year.

 

 

 

year.pngללא שם.png

Hi @dana1,

 

If you want to use the date slicer to filter visual, please consider below two conditions:

  • The date column is an existing column in source table (caller table)
  • Or an other table which contains this date column has a relationship with caller table.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.