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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

How to show type to date data of X axis when drilling down/up on line chart on a card ?

Hi ,
I have sales data depicted on a trend graph with a drill down option to the user. I want to show on card , what type of date data is presented on the X axis. Example : If data is drilled to quarterly, the card says "quarterly". If data is drilled to monthly , the card says "monthly", If data is drilled to weekly, the card says "weekly". etc.

In my case , I only want to show drill selections for Quarters, Months, weeks and Days.
I have illustrated the examples and attached them below.

Akshay_Kinge_0-1633934675699.pngAkshay_Kinge_1-1633934721811.pngAkshay_Kinge_2-1633934781924.pngAkshay_Kinge_3-1633934815070.png

How to show type to date data of X axis when drilling down/up on line chart on a card ?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , I think you need to use bookmark and buttons not card

 

bookmark -https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmarks-and-buttons/
https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

View solution in original post

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

If you just want to create a card to illustrate the type of the date, then you can save this step. We notice that the type of date is already displayed on the title of the line chart. If we want it to be as eye-catching as it is displayed on the card, then we just need to adjust the font of the line chart title.

vangzhengmsft_3-1634182805940.png

We can even customize the column aliases by double-clicking on the field names.

vangzhengmsft_1-1634182694157.png

If you insist that cards are what you need, then as @amitchandak  said, you can display data by quarter, by month, by day via bookmarks and buttons.

 

Hope this helps.

 

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

amitchandak
Super User
Super User

@Anonymous , I think you need to use bookmark and buttons not card

 

bookmark -https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmarks-and-buttons/
https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.