Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
User | Count |
---|---|
59 | |
22 | |
18 | |
18 | |
16 |
User | Count |
---|---|
87 | |
59 | |
52 | |
37 | |
21 |