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

Get Fabric certified for FREE! Don't miss your chance! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.