Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 creating a new calculation as follows:
FILTER ( RptAnalysisProduction, RptAnalysisProduction[Cell] = "Rental"
Me returns the error:
The expression references multiple columns. You cannot convert multiple columns to a scalar value.
what would be the way I can pull from my table some specific rows, without using the table view and select the field I want to see
thank you to anyone who can help me
Solved! Go to Solution.
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.
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.
In my case the columns are strings and not numbers, is there any other way?
Hello @arthur_gand ,
You filter the table in Power query to show only the data related to the product you want.
check this out https://learn.microsoft.com/en-us/power-query/filter-values
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Follow me on Linkedin
Vote for my Community Mobile App Idea 💡
Proud to be a Super User! | |
I will use a different product for each dashboard, how do I do it? create a table for each dashboard?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
86 | |
61 | |
45 | |
41 | |
39 |