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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
rezanz
New Member

Conditional Dynamic Text

Hey Folks

I am just wondering if it is feasible to create a conditional dynamic text in power bi report.
Decreased or increased are the conditions.
The name of the month is a variable.

For example, you have a monthly trending graph that shows the monthly sold apples and monhly sold oranges.
I am looking for a text box like this:
"The overall apple sales rate for the $variable month has either decreased or increased by ...% in comparison to the preceding month.

The overall orange sales rate for the $variable month has either decreased or increased by ...% compared to the previous month."

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @rezanz 
It is possible, you just need to create a combined measure and put it on a card:

For example :

test = "In "& SELECTEDVALUE('calendar'[year_month]) & " the seles QTY was: " & [sales_count]& UNICHAR(10)& "the customers QTY was : " & [customers count] // unichar(10) is for go to the next row
Ritaf1983_0-1701054665990.png

pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @rezanz 
It is possible, you just need to create a combined measure and put it on a card:

For example :

test = "In "& SELECTEDVALUE('calendar'[year_month]) & " the seles QTY was: " & [sales_count]& UNICHAR(10)& "the customers QTY was : " & [customers count] // unichar(10) is for go to the next row
Ritaf1983_0-1701054665990.png

pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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