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

Creating tooltip column based on historical data

 

I've been trying to add automatic column with py script, but without a success. So the idea is to lets say i have a table like below:

DateAB
1-20211320
2-20211340
3-202126100
4-20215220
5-202152200
6-20211041000

And the idea is to create a additional column which tells us a current situation of A or B value over time, so basically something like this: ( let's say that 7-th month data is updated)

DateABComment
1-20211320-
2-20211340A did not change & B increased by 100%(or A did not change and B increased from 20 to 40)
3-202126100A increased by 100% & B increased by 150%(or from 40 to 100 etc.)
4-20215219A shows an upwards trend over last 3 months & B decreased X and is at its lowest point this year (or over last X months)
5-202152200...
6-20211041000A & B increased and shows uptrend over last X months
7-20212082000A & B increased by X and shows uptrend over last X months

 

Did anyone took similar approach to something like above? Looking for a suggestions & approach ideas or some solutions to problem above. A & B columns could also be like A (as value) and B as value category.


Thanks in advance!

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @hejszyszky ,

 

You can create dynamic commentary in Power BI.

Please refer to these blog:

https://zebrabi.com/dynamic-commentary-power-bi/ 

https://blog.enterprisedna.co/adding-commentary-to-your-reports-in-a-dynamic-way/ 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @hejszyszky ,

 

You can create dynamic commentary in Power BI.

Please refer to these blog:

https://zebrabi.com/dynamic-commentary-power-bi/ 

https://blog.enterprisedna.co/adding-commentary-to-your-reports-in-a-dynamic-way/ 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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.