Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, (sorry I'm a novice...) I have created a Measure to return a text string with 6 possible results (depending on which range a calculated result falls into).
In Visuals I can create a table (below) but I can't get any other Visual to show the number of results in each of the 6 result categories (e.g. bar chart; pie chart) - it won't let me drag the Measure into Values to perform a Count of the 6 result categories.
I can get the result if I export to Excel and create a Pivot Table...but I want to be able to show it in a Power BI Visual
Solved! Go to Solution.
What you can do is create a different measure to each category, and put each of those in the chart.
Each measure Would likely be something similar to:
No Sales=
CALCULATE(
COUNT(Table[number]),
FILTER(Table,
[Stock Turn Range] = "no sales"
)
What you can do is create a different measure to each category, and put each of those in the chart.
Each measure Would likely be something similar to:
No Sales=
CALCULATE(
COUNT(Table[number]),
FILTER(Table,
[Stock Turn Range] = "no sales"
)
@dcimcclelland think about it, how would you represent texts in charts? What will be the scale?
You can't use charts to show text as the values.
You can however use Calculation Groups to change the format strings of the result to that ever you want, but the actual values need to be numeric.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
88 | |
49 | |
45 | |
38 | |
37 |