Forum Discussion

Noob78's avatar
Noob78
Frequent Visitor
9 years ago
Solved

Advanced histogram parametring by cluster of data

Hi people!

I have once again an issue, concerning histogram parametring.

Below are the samples:

- my data is as seen in the table : division by country/region/zone/dealer

- my histogram should show the ratio Sales/offers, but 4 times:

  • sales(country)/offer(country)
  • sales(region)/offer(region)
  • etc.

--> Constraint: their are several slicers allowing the user to choose country/region/zone/dealer but I need to be able to show, for each level of filtering,

- the complete data for the country

- complete country + the region data according to the one selected

- complete country + the region data according to the one selected + the zone selected

- complete country + the region data according to the one selected + the zone selected + dealer selected.

 

Here are samples :

CountryRegionZoneDealerProductOffersSales%Country%Region%Dealer%Zone
France111001Pdt 115570%44%33%33%
France121002Pdt 2452170%44%47%47%
France131003Pdt 32170%44%50%50%
France241004Pdt 16370%78%50%50%
France251005Pdt 2675470%78%81%81%
France361006Pdt 3543570%80%65%65%
France371007Pdt 1242470%80%100%100%
France381008Pdt 2222170%80%95%95%
France491009Pdt 31170%100%100%100%

Screenshot:

One Region selected

 

To all, thanks!

Noob

  • Anonymous's avatar
    Anonymous
    9 years ago

    Hi Noob78

    Click your field(for example:%Country) in Fields Panel, then under Modeling ribbon,click the percentage format, you will get your desired result.



    Thanks,
    Lydia Zhang

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Noob78,

    Based on your description and screenshots, it seems that you want to create a column chart using sample data in Power BI Desktop and want to filter it with different levels of slicers, right?

    If that is the case, you can create a Clustered column chart using fields as shown in the following screenshot, then create 4 slicers using country/region/zone/dealer field. You will be able to filter the chart using slicers at different levels.

     

    For more details, you can review this attached PBIX file.

    Thanks,
    Lydia Zhang

    • Noob78's avatar
      Noob78
      Frequent Visitor

      Thank you! This is quite it visually.

      How have you determined the %? A measure?  Directly in data?...

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Noob78

        Click your field(for example:%Country) in Fields Panel, then under Modeling ribbon,click the percentage format, you will get your desired result.



        Thanks,
        Lydia Zhang