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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Hiding a required column in a table and grouping by another column

I have a table visual with 3 columns (City, State and Resident Count). I want to role it up to the State level but in order to make a connection to another table for accurate Resident Count I need to include the City in the fields selected for the table visual. When I remove City the Resident Count becomes inaccurate. How can I have the table role up to the State and not display the City?

 

Thanks, Mark

3 REPLIES 3
Anonymous
Not applicable

Hi, @Anonymous

I wrote a simple data set based on the information you gave me.

vyilongmsft_0-1706089472877.png

vyilongmsft_1-1706089472879.png

 

When creating a Slicer and prioritizing State as a filter condition.

vyilongmsft_0-1706089640343.png

 

 

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

How to Get Your Question Answered Quickly 

Best Regards

Yilong Zhou

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

Anonymous
Not applicable

Yilong, Thanks for provinding the sample. That is basically my situation. I however want to remove the the City from the table and have the people count role up to the State. The State and the City are on different tables but I have a relationship between the two tables in the Manage Relationships, however when I remove the City as an item in the table I end up with incorrect people count. How can I resolve this?

Fowmy
Super User
Super User

@Anonymous 

Can you share some sample data with the desired output to have a clear understanding of your question?
Mention whether you want a calculated column or measure.
You can either paste your data in the reply box or save it in OneDrive, Google Drive, or any other cloud-sharing platform and share the link here.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors