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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Dynamic axis selection in Sankey Chart or Bar Chart?

Hi!

 

Though I am aware of the dynamic axis selection in Power BI visuals, I have quite a complex use case. Here are the details:

 

I have a table, let's call it fact_table, with following structure

ID | 2022-01 | 2022-02 | 2022-03....

 

In each of the Month-Year columns, I have only one of five values - A, B, C, D, E (category)

 

I am creating a Sankey Chart to see the movement of IDs from one category to another category. For this, I am currently mentioning static SOURCE and DESTINATION in Sankey Chart. However, I want to be able to select the SOURCE and DESTINATION in a dynamic way.

 

The problem here is that, unlike the usual dynamic selection, I have the column names that I have to select dynamically. 

 

I tried to do following things, but could not progress any further:

1. Unpivot the columns in Data Transformation. However, the columns keep changing. There are 12 columns with rolling 12 months. So, in June 2023, we will have columns from Jul-2022 till Jun-2023, but in July 2023 we will have columns from Aug-2022 till Jul-2023

2. Creating parameters. For obvious reasons, that didn't help either

 

Is there anything anyone could suggest?

 

Many thanks!

Dipesh

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.