Search code examples
powerbihistogramuser-inputpowerbi-embeddedpowerbi-custom-visuals

Power BI. Creating a graph with user-input parameters


I have a problem with creating graphs with different parameters. Now I have made histograms of parameters A by choosing Count values of A in the bins, hence, there is a percentage value representing % of a number. But I also need to create the same graph, instead the Count function use the value of another parameter B (I mean, in the axis there will be parameter A, but in the % of values of parameter B.

I know how to create both graphs.

But I also want to add a box, where one can choose what parameter use in "Values" of a histogram - Count of Par. A or with Values of Par B. However, I even don't imagine, how to do it. Could you, please, help me? Thank you in advance!

I tried to look through options, but still no result, unfortunately.


Solution

  • Your question is very unclear, but maybe you are looking for something like
    Let report readers use field parameters to change visuals

    If not, add some sample data and a snapshot of what you are looking for.