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
matkvaid
Helper II
Helper II

Tooltip page and datesinperiod with chart visual not working

Hi,

i have a tooltip page with table and few measures, scorecard and it all works good. So i tried to add a line chart also - sales from previous 12 months, but something i did wrong: my DAX is CALCULATE(SUM(Fact[Sales]), DATESINPERIOD(Date[Date], MAX(Date[Date]), -12, MONHT))) - in my main report page it is intended to select current or previous month, so with previous selected in tooltip all table measures do wokt, like ytd, previous month and previous year. but in chart it is always one filtered in slicer month. What do i do wrong? Thanks

3 REPLIES 3
v-binbinyu-msft
Community Support
Community Support

Hi @matkvaid ,

In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data or a screenshot of your desired results?

For Sparklines, please refer these documents: Power BI December 2021 Feature Summary | Microsoft Power BI Blog | Microsoft Power BI ,  Create sparklines in a table or matrix in a report (preview) - Power BI | Microsoft Docs

 

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu

I found how to remove filter for sparkline here https://www.youtube.com/watch?v=wmwcX8HvNxc

just have not figured out how to display last 12 months, but at least now it is not just current month, but is still better than nothing 🙂

matkvaid
Helper II
Helper II

So i think i understand what is the problem - data in measure is correct, tried to add sparklines, but problem is the same: for X axis i selec "year - monh" from calendar table, wich is filtered from my date slicer. Any thougts on how to make x axis of last 12 months year-month names?

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.