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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
abc_777
Solution Specialist
Solution Specialist

hi

hello

 

doest any one has any web link or any guide how to build Piano Chart YoY in power bi? 

 

if can help me step by step will be greatefull

 

thanks

2 ACCEPTED SOLUTIONS

@abc_777 I put this together. PBIX is attached below signature. I think it's pretty close to what they had in the post. I'll try to make a video on it.

Greg_Deckler_0-1737056516525.png

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Hello @Greg_Deckler ,

 

thanks man, this is the one i was looking for. when create vedio clip request u please share me.

 

i just have a little quiry rather make 

Measure = 20000000
Measure 2 = IF( [MOM] > 0, 20000000 )
Measure 3 = IF( [MOM] < 0, 20000000 )  static,  cant we make them dynamic?
 
and i dont see the use of followings
MOM Neg = IF( [MOM] < 0, [MOM], BLANK() )
MOM Pos = IF( [MOM] > 0, [MOM], BLANK() )
 
would you mind to help me out please
 
abc_777_0-1737134684352.png

 



thanks

View solution in original post

11 REPLIES 11
Greg_Deckler
Community Champion
Community Champion

@abc_777 Can you post an example of a Piano Chart? Not familiar with that chart type.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@abc_777 I put this together. PBIX is attached below signature. I think it's pretty close to what they had in the post. I'll try to make a video on it.

Greg_Deckler_0-1737056516525.png

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hello @Greg_Deckler ,

 

thanks man, this is the one i was looking for. when create vedio clip request u please share me.

 

i just have a little quiry rather make 

Measure = 20000000
Measure 2 = IF( [MOM] > 0, 20000000 )
Measure 3 = IF( [MOM] < 0, 20000000 )  static,  cant we make them dynamic?
 
and i dont see the use of followings
MOM Neg = IF( [MOM] < 0, [MOM], BLANK() )
MOM Pos = IF( [MOM] > 0, [MOM], BLANK() )
 
would you mind to help me out please
 
abc_777_0-1737134684352.png

 



thanks

@abc_777 Yeah, I made them dynamic in the video. And I don't use those measures actually, they were artifacts from messing around trying different things. Here's the video link:



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @abc_777 ,

As far as I know, there is no in-built piano chart available in Power BI.

 

However if you see this post, they are mentioning that they are using a Line and Clutered Column Chart visual for this purpose

 

Here what they should have done to get this,

in the line chart they have hid the line and enabled the markers and added a error bar that starts from x-axis. Since the clustered column and error bars are of the same colour, you don't explicitly see it.

I built a quick visual with my data. Sharing it below

Thejeswar_0-1737016013706.png

 

You just have to play more with innovative way to format your visual to get to exact similar look and feel

Hope this helps

 

Regards,

abc_777
Solution Specialist
Solution Specialist

@Thejeswar Thanks for you reply. As u were able to do would you mind to help me using my sample data please? if would be goo to have % of growth at marker using red and green color like i gave u the image. 

 

Will be greate ful to you

 

YearMonthItem nameItem Quantity
2023JanuaryA2
2023Februaryb4
2023Marchc2
2023Aprila3
2023Mayb4
2023Juned5
2024Julyb6
2024Augusta4
2024Septemberc3
2024Octobera2
2024Novemberb4
2024Decembere3



thanks

Hi @abc_777 ,
We can create a similar chart with your data too. But the showing of markers with different colours needs conditional formatting. But unfortunately I am not seeing option to perform Conditional formatting in the Power BI version that I am using. 

 

To note, Conditional formatting cannot be done directly to Line charts but there is a workaround we do with bar charts. But even that doesn't seem to be available for me. Not sure if this is after the recent update (I am using Power BI Jan 2025 version)

 

Thejeswar_0-1737024682916.png

If you are not aware about conditional formatting, 

Conditional Format a line chart in Power BI

 

If you want to know how you can set up error bars

How To Add Error Bars in PowerBI - The Data School

 

Regards,

abc_777
Solution Specialist
Solution Specialist

can u share the sample pbi file please?

abc_777
Solution Specialist
Solution Specialist

Hello @Thejeswar 

 

Not an issue at all. 

 

Lets first create a piano chart. then we can use conditional formating. i will check as well in mean time u can give a try with this latest power bi version. hope we can make that. work. 

 

would be greeatefull if u share pbi file 

 

thanks for your time and help man

abc_777
Solution Specialist
Solution Specialist

no luck?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.