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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Add custom row to Table/matrix visual based on slicer

Hi,  I've a requirement from users to add a row at the end of Matrix visual for 'Other/Misc' if the slicer is selected as you see in the box.

 

'Other/Misc' data is also available in separate table by only Year, with SaleType as UNK, and Make also UNK 

I created SalesAgg table with combination of Fact table and 'Other/Misc' data using UNION and Summerize.

and from SaleType and Make slicers I've filtered this UNK (Unknown default) as users doesnt want to see.

So now how do I add Ohter/Misc row to the matrix when its checked by ignoring UNK filter in both 'SaleType' and 'Make' tables.

 

I create separate/Disconnected table just for Slicer with one column and one row.

Untitled.png

3 REPLIES 3
amitchandak
Super User
Super User

you can use summarize and union to do that. But I not sure how to get total before Misc.

 

 

Balance Sheet = union(SUMMARIZE(Sales,Sales[Brand],"Col1",sum(Sales[Sales]),"Col2",sum(Sales[COGS]),"sort",COUNTROWS(Sales)),SUMMARIZE(Sales,Sales[Brand],"Col1",sum(Sales[Sales]),"Col2",sum(Sales[COGS]),"sort",COUNTROWS(Sales)),DATATABLE("Area",STRING,"Col1",DOUBLE,"Value",DOUBLE,"Clo2",DOUBLE
,{
{"    ",0.0,0.0,10000}
}
) )

Datatable is to add some statics data

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you @amitchandak 

 

I did this step.

Now my next step is displaying on the report based on slicer selection. am still looking for solution.

 

https://1drv.ms/u/s!Ai0GzdHCLgzPkn-A21nhmXwYmGtz?e=JaEawH

am attaching power bi file and spreadsheet.

Please check Edit Interaction under Format Tab, I found Interaction has been stopped. It should be like give below.

https://www.dropbox.com/s/8yafsuybvvsp2bb/Retail_PBIRS.pbix?dl=0

Screenshot 2019-10-20 12.41.19.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.