Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all! I recently updated to the May 2023 desktop update of PBI, and the measure driven data labels feature solves something I've been fighting with for a while now. I'm looking at how many conditions within a specified set each patient in a list has, and I'm using a stacked bar chart as the visualization. I'd like the data labels to show the number of conditions, and then on the next line, the number of patients. I have another measure that I wrote where I used UNICHAR(10) to make a new line and it works correctly (I don't know if it's because the measure was built before I updated, if it's because it's a different type of visual, or some other reason), but when I do the same here it shows as instead.
Here is the measure, which aside from not giving me a new line is giving the correct results:
ConditionCTLabel = SELECTEDVALUE(AllPatients[ConditionCT]) & ":" & UNICHAR(10) & COUNT(AllPatients[ConditionCT])
Here are the resulting labels in the visualization:
And here's essentially what I'd like it to look like:
Almost everything I've googled has said to turn on word wrap, but there is no option for word wrap that I can find on this visualization. Am I missing something? Doing something wrong? TIA
Solved! Go to Solution.
Looks like this is a known error that should be fixed soon
https://twitter.com/insightsmachine/status/1667826657527480320?s=46&t=c9TBdIfLHaRTfzlzORxQ4A
Looks like this is a known error that should be fixed soon
https://twitter.com/insightsmachine/status/1667826657527480320?s=46&t=c9TBdIfLHaRTfzlzORxQ4A
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |