Forum Discussion

arthur_gand's avatar
arthur_gand
Frequent Visitor
2 years ago
Solved

Filter and pull a single field

Hello all, I'm starting with using powerbi, I got a question, I'm with an excel table, with 700 rows and 23 columns. I need to create a dashboard for each product in this spreadsheet. When creatin...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi arthur_gand ,

    The error you are getting means that your calculation is trying to return multiple columns instead of a single value. This is not allowed for a measure or a calculated column. You need to specify what value you want to return from the filtered table. For example, if you want to return the sum of the production column for the rental cell, you can use this formula:

    Measure =
    CALCULATE (
        SUM ( RptAnalysisProduction[Production] ),
        RptAnalysisProduction[Cell] = "Rental"
    )
    

    You can also use the visual filter option in Power BI to filter your table by the cell column and select only the rental value. This will apply the filter to all the visuals in your report page that use the same table.

     

     

    How to Get Your Question Answered Quickly 

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.