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
Hellow everyone. I am working on a new table that is built from a database that includes this columns:
Clients, Accounts, Dates (from month 1 to month12) and Values
And I need to organice in a separate table per Clients and Accounts the values from moth 1, next the values from moth 2 andso on.
I tried with the next code but I find ount that the GENERATE function do not allow dates in the filters and I also cannot add the Accounts column next to the Clients column.
Solved! Go to Solution.
Hi @Anonymous
This is my test table:
Please transform data in Power Query: Select Date and Value column - Pivot column.
Select OK:
You will get a table like this, I think this is the expected table you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Check if this can help
https://amitchandak.medium.com/power-bi-power-query-vs-dax-months-between-range-df019cec823b
Sure! In the next picture I try to show the initial and desired table:
Hi @Anonymous
This is my test table:
Please transform data in Power Query: Select Date and Value column - Pivot column.
Select OK:
You will get a table like this, I think this is the expected table you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 20 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 29 | |
| 21 | |
| 12 | |
| 12 |