Forum Discussion
e175429
9 months agoHelper IV
Data Label on Graph
Hey all, I am able to get my graph to show EITHER whole numbers OR %. Is there a way to get both shown on the same graph? Thank you!
- 9 months ago
Ok, that's fine. You will need to create some measures- similar to the following- use whatever your actual table and field names are.
Count of Name = COUNT(Names[Name])Count of All Names = COUNTROWS(ALL(Names))Percent of Total Names = DIVIDE([Count of Name],[Count of All Names],0)Then put Percent of Total Names into Data under Detail on the Data Labels section of the visual settings.I've updated the .pbix file.
djurecic
9 months agoSuper User
Ok, that's fine. You will need to create some measures- similar to the following- use whatever your actual table and field names are.
Count of Name = COUNT(Names[Name])
Count of All Names = COUNTROWS(ALL(Names))
Percent of Total Names = DIVIDE([Count of Name],[Count of All Names],0)
Then put Percent of Total Names into Data under Detail on the Data Labels section of the visual settings.
I've updated the .pbix file.