Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a table like this:
| Center | year | month | week | sku | supply | demand |
| 1 | 2021 | 01 | 01 | 0123 | 3000 | 2500 |
| 1 | 2021 | 01 | 01 | 0124 | 2500 | 1000 |
| 1 | 2021 | 01 | 02 | 0123 | 3000 | 2000 |
| 1 | 2021 | 01 | 02 | 0124 | 5000 | 2000 |
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?
| Center | year | month | week | supply-demand |
| 1 | 2021 | 01 | 01 | 2000 |
| 1 | 2021 | 01 | 02 | 4000 |
Solved! Go to Solution.
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])Hope this resolves your query !!
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
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])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?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 48 | |
| 38 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 91 | |
| 76 | |
| 37 | |
| 27 | |
| 25 |