cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iBusinessBI
Advocate I
Advocate I

Calculation Group and "Field Parameters" together?

I use calculation groups to allow user select the KPIs period in slicer.
If user selects "Yesterday", all KPIs show yesterday's data. If he/she selects "MTD" - they show MTD, etc. So far - so good.
I want some line charts to change the X axis according to that slicer, too.
So, if the user selects "Last Week" in that calculation group, not only KPI numbers show the last week's data, but all the trend charts will show weeks on axis X, and not days. If a user selects "Last Month", then the line charts will show KPIs for several months, instead of days or weeks.
It's similar to changing the X axis with the "Field Parameter", but I also need it to be calculation group at the same time. (bonus: the selection should ideally change the filter of number of periods shown on the chart, but it's not that important)
How can I achieve that?
1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @iBusinessBI ,

 

How did you set it up? Please refer to this Blog, it is very detailed, hope it helps.
Field parameters in cooperation with Calculation groups

If the question is not resolved, please feel free to contact us.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @iBusinessBI ,

 

How did you set it up? Please refer to this Blog, it is very detailed, hope it helps.
Field parameters in cooperation with Calculation groups

If the question is not resolved, please feel free to contact us.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Wow! Great article, thanks for sharing!

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.