Forum Discussion

luvarap's avatar
luvarap
Frequent Visitor
3 years ago
Solved

Help with filtering data in the report

The  "Data" table is in power bi is shown below

Data Table

WeightPalletizationWorkmanship standard
Full CompliancePartial CompliancePartial Compliance
Full CompliancePartial ComplianceFull Compliance
Partial ComplianceNot ApplicableFull Compliance
Zero ComplianceFull ComplianceFull Compliance
Not ApplicablePartial Compliance

Partial Compliance

 

I would like to have a slicer filter with the following options 

  • Full Compliance
  • Partial Compliance
  • Zero Compliance
  • Not Applicable

The filter selection depending upon the chosen option(s) would produce a report of the total count for each options as follow -

 Full CompliancePartial ComplianceZero ComplianceNot Applicable
Weight2111
Palletization13 1
Workmanship Standard23  

 

 I created another table having single column showing selection options for slicer filter but in absence of any relationship between this created table and data table the filtering would not work.

 

Is there any way to accomplish this? Any help is appreciated.

 

 

  • You can do it in Power Query Editor. So the source has the same structure and your dataset for the report a other. 

6 Replies

  • I would bring the raw data table in a other structure. Than it is easier to make the calculation. You can do it via Power Query Editor. 

    TypeValue
    weightFull Compliance
    weightFull Compliance
    weightPartial Compliance
    Palletization...Not Applicable...
    • luvarap's avatar
      luvarap
      Frequent Visitor

      Thank you for your response.

       

      You mean create another table with data table headings and its all possible values in value column?

  • luvarap's avatar
    luvarap
    Frequent Visitor

    Thank you. The problem is I am getting the data from Microsoft forms and the way it is structured is as given in data table. And, I have shown only 3 columns but there are about 30 columns with similar headings.

    • andhiii079845's avatar
      andhiii079845
      Icon for Solution Sage rankSolution Sage

      You can do it in Power Query Editor. So the source has the same structure and your dataset for the report a other. 

      • luvarap's avatar
        luvarap
        Frequent Visitor

        Thank you for your help. I will try it out per your suggestions.