The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
is there a way to create the designation of a column dinamically?
For example you have a matrix visual and a measure as value. The measure looks like this
Year value = calculate(sum(value);year(date)=year(today())-1)
The designation in the matrix for the measure should be this year 2016 and next year 2017.
Is there still existing a way to create this dynamically based on the syntax of the measure?
Solved! Go to Solution.
You can create a measure like below and put it into a Tile visualization:
CountryTitle = IF(HASONEVALUE(Geography[Country]),"Sales for "&MAX(Geography[Country]),"Sales for All Countries")
The example above puts things like "Sales for All Countries" or "Sales for USA", etc. depending on what is filtered on the page.
HI @Sebastian,
Current power bi not support to use measure as title. I agree with smoupre's point, it may suitable for your requirement.
Perhaps you can try to submit an idea for this requirement.
Regards,
Xiaoxin Sheng
Hi @v-shex-msft, @Greg_Deckler
thanks for your answer.
I think I will submit this as an idea.
Regards
Sebastian
You can create a measure like below and put it into a Tile visualization:
CountryTitle = IF(HASONEVALUE(Geography[Country]),"Sales for "&MAX(Geography[Country]),"Sales for All Countries")
The example above puts things like "Sales for All Countries" or "Sales for USA", etc. depending on what is filtered on the page.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
77 | |
73 | |
47 | |
39 |
User | Count |
---|---|
137 | |
108 | |
69 | |
64 | |
56 |