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! Learn more

Reply
nicolasvc
Helper III
Helper III

Have a grouped table but being able to filter by grouped data

I have a table like this:

Centeryearmonthweekskusupplydemand
120210101012330002500
120210101012425001000
120210102012330002000
120210102012450002000

 

And I create another table in power bi (not in power query), with which I create this table but grouped by sku, and subtracting the supply with the demand (and adding, since it is grouped). But I would like later in the graphics to be able to select the sku that are put in some graphic. Example to show the supply-demand column with the date axes, but to be able to make a filter if I want to put more or less sku, how could I do it?

 

Centeryearmonthweeksupply-demand
1202101012000
1202101024000
1 ACCEPTED SOLUTION
jaideepnema
Solution Sage
Solution Sage

Hi @nicolasvc ,

I am not sure why have you created the second table. As you can create a meaure like this :

Supply-Demand = sum('Table'[supply])-sum('Table'[demand])
Use this in a table and add a slicer for SKU as shown below:
jaideepnema_0-1633102443108.png

Hope this resolves your query !!

 

Please accept this as a solution if your question has been answered !!

Appreciate a Kudos 😀

View solution in original post

3 REPLIES 3
jaideepnema
Solution Sage
Solution Sage

Hi @nicolasvc ,

I am not sure why have you created the second table. As you can create a meaure like this :

Supply-Demand = sum('Table'[supply])-sum('Table'[demand])
Use this in a table and add a slicer for SKU as shown below:
jaideepnema_0-1633102443108.png

Hope this resolves your query !!

 

Please accept this as a solution if your question has been answered !!

Appreciate a Kudos 😀

Thanks for the advice!, but what happens is that I create the table because then I have to do calculations occupying previous cells, so I use the EARLIER function, I don't know if it can be used with measures.  Can be done?

@nicolasvc Yes that should be possible !!

Helpful resources

Announcements
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!

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.

Top Solution Authors