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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
leliksan123
New Member

Remove or concate rows Power BI

Hi all! I created power BI report using Matrix via API. And I can`t use power BI desktop.

I have three fields in rows (SortOrder/Region/Country). And now I have this : 1-Africa-Countries of this region- Total. 

But when I have region China I don`t need Total field and duplicate row, because China has only one country China, so now I have:

3-China-China-Total.  How can I hide or delete duplicate row and total?

 

Thanks.

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@leliksan123 wrote:

Hi all! I created power BI report using Matrix via API. And I can`t use power BI desktop.

I have three fields in rows (SortOrder/Region/Country). And now I have this : 1-Africa-Countries of this region- Total. 

But when I have region China I don`t need Total field and duplicate row, because China has only one country China, so now I have:

3-China-China-Total.  How can I hide or delete duplicate row and total?

 

Thanks.


@leliksan123

What do you mean create report using Matrix via API? Do you create a dataset via REST API and create the report in Power BI Service? In this case, you can still create a report via PBI desktop(getdata->online service->power bi service and connect to that dataset). By creating a measure can probably help your deal with the duplicate row and total. 

 

By the way, could you post any so called duplicate row sample data?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.