This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello,
I have been stuck on this for a few hours now. I am trying to create a new table ("dq_test") with 4 column: Month, New, Outstanding, Resolved. I want to calculate the value for each row and column. I have tried this but cannot get it to work for more rows.
Solved! Go to Solution.
Found it I was using the UNION wrong. You just need to do this:
Hi @johnbird
Can you please share a pbix or some dummy data that keeps the raw data structure with expected results? It should help us clarify your scenario and test the coding formula.
How to Get Your Question Answered Quickly
I have attached below a picture of my data. Basically this is a calculated tables that work out the status of an issue. The is a master table that contain all the issues listed by month on each row. This table I have set it so month_0 is the current month and month_1 is the previous month etc. This was the best way I could think how to do it. As the master table contains passed and failed results and I am just interested in the failed.
Hi @johnbird
You need to unpivot this table in data source / with power query,
To bring it to the form of
Id, month , status.
After this you can convert the months to dates and create a standart star schema.
More information about unpivot here :
https://youtu.be/ESap6ptV8fI?si=z29lceoinXhodB38
About star schema :
https://youtu.be/KUrhiIGiea4?si=qySa9AXv1zCLxr-w
Found it I was using the UNION wrong. You just need to do this:
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 25 | |
| 24 |