Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi PBI gurus,
I am using PBI to plot a column chart, like the one shown below:
I want to use all state names of the US as x-axis, and I use "New parameter" -> "Fields" to create a slicer to contain the field names I want to plot as y-axis, so that I can select to plot the data from either field vs. States.
However, when I make "X-axis" as "State", and "Y-axis" as the parameter fields I created, the column chart shows nothing, shown below:
But when I change column chart to a table, it displays correct values:
Please let me know how I can plot column chart as expected. Thanks a lot!
Solved! Go to Solution.
Hi @JTan
Sorry, my previous reply was going in the wrong direction. I checked the official document, this was caused by the following limitation:
Due to above limitation, you need to create a measure for each field column. For example,
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Hi @JTan
Column chart visual expects to have numeric data type column/measure on the y-axis. Please check whether all fields used in the field parameter have been set to numeric data types, like whole number, decimal number, fixed decimal number...
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Thank you!
I made all the fields correct type.
Here is how I defiend the dynamic parameters in the "Baseline COM Columns" slicer. The items are actually in text type, not in number.
Now my question is, how to link my selected item in the "Baseline COM Columns" slicer to the real data column in a data table?
The data table is like this:
Hi @JTan
Sorry, my previous reply was going in the wrong direction. I checked the official document, this was caused by the following limitation:
Due to above limitation, you need to create a measure for each field column. For example,
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Thank you so much for the help!
I've solved this problem.
Hi @JTan
The parameters names as a text that's ok,
If all the referenced columns are whole/decimal number type and it still doesn't work ,
then maybe we are missing something in your description.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Thank you as well!
Hi @JTan
is the wanted measure Co2 reduction a number data type?
if yes can you please share a link to the dummy pbix?
Thank you! Please see my new reply.
User | Count |
---|---|
64 | |
59 | |
47 | |
33 | |
32 |
User | Count |
---|---|
84 | |
75 | |
56 | |
50 | |
44 |