Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Calculated columns without filters

Good afternoon

I'm starting in the world of Power BI t I have a colsquera about how to assemble a tables with calculated measurements or columns. I have several stores and I want to compare myself with market data. Below I show an example.

mmorales2022_0-1667397481328.png

The data "Sales prov." corresponds to total sales, broken down by brand and province. Now I want to take out the data "Brand sales", that is, I filter only by brand, so that in the first and second line, which are stores of the same brand in different provinces, the same data is shown.

I hope you can help me or indicate a forum to share my query.

Thanks a lot.

9 REPLIES 9
Anonymous
Not applicable

Hi @mmorales2022 ,

You can create a slicer and put Brand field onto the slicer just as below screenshot. Please find the details in the attachment.

Create slicers to apply the dataCreate slicers to apply the data

Best Regards

Thank you very much, but with this option I would show myself in the table or one data or another, but never both at the same time. I wanted to have a column with the sales data by brand and next to it another column with the sales data by brand and province. It's possible?

Anonymous
Not applicable

Hi @mmorales2022 ,

I'm not clear about your requirement: have a column with the sales data by brand and next to it another column with the sales data by brand and province. Could you please provide some special examples to illustrate it? Thank you.

Best Regards

That is indeed what I need. I share my data source table with you.

mmorales2022_1-1667554954525.png

The data I want to classify correspond to the measure Mattriculations = CALCULATE(COUNT('TOTAL REGISTRATIONS'[Rack]), 'TOTAL REGISTRATIONS'[New "N" - Used "U"] = "N" )

I have created the table "Concession" and in it I have entered the column Sales prov. (sales by brand and province, Sales prov. = CALCULATE(COUNT('TOTAL REGISTRATIONS'[Rack]),'TOTAL REGISTRATIONS'[New "N" - Used "U"] = "N" ) ), but now I do not know how to put a new columa with sales only by brand. The table is as follows:

mmorales2022_0-1667553480173.png

Both tables are related by the field Concession (oriegen table) - Concession code (table above)

I don't mind doing it with measurements instead of calculated columns if it were a better solution.

Thanks a lot.

I show again the source table, that the previous one had errors:

mmorales2022_2-1667555179803.png

Good afternoon

I show a new example of what I am looking for so that it is better understood. Starting from the following table:

mmorales2022_0-1667830434803.png

What I want to get is a table that shows me the registrations by brand, by province and by brand / province. The result would be this:

mmorales2022_1-1667830520984.png

How could you propose the measures in Power BI to obtain such a table?

Thanks again.

Anonymous
Not applicable

Hi @mmorales2022 ,

Could you please provide the sample data with Text format? You can paste it in your post directly. And could you please provide your expected result with calculation logic and special examples?  It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

yingyinr_0-1667890045854.png

 

Do you want to get the count of Rack group by Brand, Province and (Brand&Province) separately? If yes, you can refer the following links to get it.

DAX method:

Group BY and COUNT

Power Query method:

Grouping or summarizing rows

yingyinr_1-1667890668348.png

Best Regards

Thank you very much, indeed what I need is to get the count by brand, province and (brand and province) separately and include them in a table.

I can not apply the enlces that you share to my problem.

Then I put link to my pbix:

https://grupotecsa-my.sharepoint.com/:u:/g/personal/mercedes_morales_grupo-tecsa_com/EafVIZjyo3BCrzX...

I have managed to get the 3 data in a table, but coming from calculated columns, the slicer does not work for me to select the dates.

How do I make the segmetacion work?

Thanks again.

Neither the DAX Method nor the Power Query Method have served me, any alternative?

Thanks in advance.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.