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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a table with date, team, cluster, KPI and the values.
I would like to subtract the values from column KPI 3 with column KPI 2, but the values should be assigned to the respective date, team and cluster.
| Date | Team | Cluster | KPI | KPI 1 | KPI 2 | KPI 3 | KPI 4 | KPI 5 | KPI 6 |
| 2022_01 | Team1 | Cluster1 | KPI 1 | 1412 | |||||
| 2022_01 | Team1 | Cluster1 | KPI 2 | 171 | |||||
| 2022_01 | Team1 | Cluster1 | KPI 3 | 209 | |||||
| 2022_01 | Team1 | Cluster1 | KPI 4 | 0,851983 | |||||
| 2022_01 | Team1 | Cluster1 | KPI 5 | 0,12110482 | |||||
| 2022_01 | Team1 | Cluster1 | KPI 6 | 0,148017 | |||||
| 2022_01 | Team2 | Cluster1 | KPI 1 | 1412 | |||||
| 2022_01 | Team2 | Cluster1 | KPI 2 | 171 | |||||
| 2022_01 | Team2 | Cluster1 | KPI 3 | 209 | |||||
| 2022_01 | Team2 | Cluster1 | KPI 4 | 0,851983 | |||||
| 2022_01 | Team2 | Cluster1 | KPI 5 | 0,12110482 | |||||
| 2022_01 | Team2 | Cluster1 | KPI 6 | 0,148017 | |||||
| 2022_01 | Team1 | Cluster2 | KPI 1 | 1412 | |||||
| 2022_01 | Team1 | Cluster2 | KPI 2 | 171 | |||||
| 2022_01 | Team1 | Cluster2 | KPI 3 | 209 | |||||
| 2022_01 | Team1 | Cluster2 | KPI 4 | 0,851983 | |||||
| 2022_01 | Team1 | Cluster2 | KPI 5 | 0,12110482 | |||||
| 2022_01 | Team1 | Cluster2 | KPI 6 | 0,148017 | |||||
| 2022_01 | Team2 | Cluster2 | KPI 1 | 1412 | |||||
| 2022_01 | Team2 | Cluster2 | KPI 2 | 171 | |||||
| 2022_01 | Team2 | Cluster2 | KPI 3 | 209 | |||||
| 2022_01 | Team2 | Cluster2 | KPI 4 | 0,851983 | |||||
| 2022_01 | Team2 | Cluster2 | KPI 5 | 0,12110482 | |||||
| 2022_01 | Team2 | Cluster2 | KPI 6 | 0,148017 |
The result should be a new KPI
| 2022_01 | Team1 | Cluster1 | KPI NEW | 38 |
Thank you beforehand.
Solved! Go to Solution.
Hi,
It seems tricky to organize the table as you want: you would need to have aditional rows to your original table with "KPI new" label. You coud do this:
Hi,
It seems tricky to organize the table as you want: you would need to have aditional rows to your original table with "KPI new" label. You coud do this:
Hi,
Why do you have KPI rows and KPI columns?
If you just unpivot your data first, maybe a simple matrix visual will do the trick...
Hope it helps.
Hi,
the original table looks like this
| VK Team | Cluster | KPI | 2022_36 | 2022_35 | 2022_34 |
| Team1 | Cluster1 | KPI1 | 10 | 20 | 25 |
| Team1 | Cluster1 | KPI2 | 50 | 5 | 52 |
| Team1 | Cluster1 | KPI3 | 15 | 25 | 19 |
| Team1 | Cluster1 | KPI4 | 100,0% | 100,0% | 100,0% |
| Team1 | Cluster1 | KPI5 | 0,00% | 0,00% | 0,00% |
| Team1 | Cluster1 | KPI6 | 0,00% | 0,00% | 0,00% |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |