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
kchojnowski
Frequent Visitor

Autmatic drill with calendar

Hello,
I have calendar, relative. Made by slicer.
Also i have chart with x-ax which show date.

  • If i ll take last 2 months in calendar slicer, i want to show 2 clumns on chart - with months.
  • If i ll take last 7 days, i want to show 7 columns on chart - with days.

Is it possible? Im taking data from sql server. Dont have calendar table.
Now i have choosen last 6 months and i have on chart multiple days. Also i have made hierrarchy with days, months and years - is it useful?

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @kchojnowski

I have calendar, relative. Made by slicer.
Also i have chart with x-ax which show date.

  • If i ll take last 2 months in calendar slicer, i want to show 2 clumns on chart - with months.
  • If i ll take last 7 days, i want to show 7 columns on chart - with days.

 

It is impossible to get 2 or 7 columns when you select within date slicer, selecting a or more items in a slicer, only results one or more rows in your viusal instead of changing numbers of columns in your visual.

 

Now i have choosen last 6 months and i have on chart multiple days.

Do you mean?

put the date(like 2018/1/1~2018/10/10) in the slicer, then select last 6 months, in the chart it shows mutiple days (from 2018/4/10~2018/10/10).

 

Also i have made hierrarchy with days, months and years - is it useful?

Is your final requirement to create date hierarchy with a calendar table in direct query mode?

 

Best Regards

Maggie

 

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.