Forum Discussion

MohannadSh1996's avatar
MohannadSh1996
Icon for Microsoft Employee rankMicrosoft Employee
6 years ago
Solved

Calculate percentages based on different dates granularity

Hi Guys,

 

I have a data as:

 

-DateTime ("yyyy-MM-dd")

-ReachedUsers

-SuccessReachedUsers

-ReachedRate : SuccessReachedUsers / ReachedUsers


I have the data shown per day (days granularity) but i wish to have a button to show them by months.

What i want to do is to have a toggle button consist of Days and Months and by selecting Days i'll get the following data:


and by selecting Month button i'll get:

I'd appreciate if anyone knows if this can be done and how?

6 Replies