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'm a newbie in using power bi. Seeking some support to resolve my issues on my table.
I have a table that has the achieved and target values per month on the column header.
How could I summarize it by month by selecting or using a slicer and able to get the running results by month.
| PO No | PO Value | Jan Ach | Jan Tar | Feb Ach | Feb Tar | Mar Ach | Mar Tar |
| AAA-1 | 100 | 20 | 20 | ||||
| AAA-2 | 500 | 100 | 200 | 50 | 300 | ||
| BBB-1 | 1000 | 200 | 300 | 500 | 400 |
Thanks in advance.
You do this by unpivoting the source data. Ideally you would also provide something better than "Jan" - for example "202201"
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WcnR01DVU0lEyNDAAkgpI2MgAwYjVgag0AnJNwSoh6o3ApCmIMEYyAKTcyckJZrABiqkIxRCTTIBkbCwA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"PO No" = _t, #"PO Value" = _t, #"Jan Ach" = _t, #"Jan Tar" = _t, #"Feb Ach" = _t, #"Feb Tar" = _t, #"Mar Ach" = _t, #"Mar Tar" = _t]),
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(Source, {"PO No", "PO Value"}, "Attribute", "Value")
in
#"Unpivoted Other Columns"
And while you're at it you would probably also want to normalize your data to keep the PO details separate from the target/achieved facts, and then you will want to add a Calendar table to your data model.
You can achieve the cumulative value by using Quick Measures.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.