Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago

Line Chart interaction with Slicer - FY Vs Previous Years

Hi,

 

I have a line visual with the following set up:

 

  • X-Axis = Month Name
  • Y-Axis = Total Pups Born (FYTD) measure
  • Legend = FY (financial year)

 

This is the result I'm looking for:

 

 

So you'll see the cumulative number of puppies born each year with the current year building throughout the Financial Year.

 

I have a Slicer Visual on the report page with FY and Month Name in a Hierachy set up. I only want this Slicer Visual to show the most recent Financial Year. Doing this would mean I lose the previous Years, so I removed the interaction between the Slicer Visual and the Line Chart. 

 

However, I want the line for the current FY to adjust if the users chooses to remove a Month Name. But because the interaction has been removed, this doesn't happen.

 

There are other visuals on the page that should only show the current FY.

 

Any ideas how I can get the behaviour I'm looking for?

 

Thanks,

Mark

7 Replies

  • Doing this would mean I lose the previous Years, so I removed the interaction between the Slicer Visual and the Line Chart.

    Instead of removing the interaction you should use a disconnected table to feed your slicer.

  • v-venuppu's avatar
    v-venuppu
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

    Thank you for reaching out to Microsoft Fabric Community.

    Thank you lbendlin  for the prompt response.

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

  • v-venuppu's avatar
    v-venuppu
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

    I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

    Thank you.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi v-venuppu ,

       

      I've not had a chance to try this. I've just left it with the current action for now.

       

      I'll try find some time in the coming months to revisit this.

       

      Mark

  • v-venuppu's avatar
    v-venuppu
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

    I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.

    Thank you.