March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi guys,
I have a dataset that contains, current values (past and present month) and the forecast month, these information are divided by a column flag Current/Future. I created two matrix tables, and for each, I choose a flag Current/Future, but I would like just one table, and insert a blank column to divide the values Current and Future, it's possible?
This is my
Product | Month | Current/Future | Values |
A | ago | 1 | 10 |
B | ago | 1 | 5 |
C | ago | 1 | 2 |
D | ago | 1 | 4 |
A | set | 1 | 2 |
B | set | 1 | 4 |
C | set | 1 | 5 |
D | set | 1 | 6 |
A | out | 2 | 50 |
B | out | 2 | 60 |
C | out | 2 | 45 |
D | out | 2 | 20 |
Expected result: Insert the blank column to separate Current and futere values.
Product | ago | set | out | |
A | 10 | 2 | 50 | |
B | 5 | 4 | 60 | |
C | 2 | 5 | 45 | |
D | 4 | 6 | 20 |
Solved! Go to Solution.
Hi @twister8889 ,
I updated my sample pbix file(see attachment), please check whether that is what you want.
1. Pivot: use the names in column "Month" to create new columns (Values: Values column) in Power Query Editor
2. Add custom column in Power Query Editor
3. Create visual as shown in the below screenshot
Best Regards
@twister8889 , Not very clear .
A new column
COlumn = "/"
or
Column = blank()
First of all, thank you for your answer..
I have a measure for example Sum(Values), for month columns (Aug, September) with the flag 1 and the same measure for october is 2.
So, I would like to insert the blank column between end flags with value 1 and begin
flag value 2
Hi @twister8889 ,
I created a sample pbix file(see attachment), please check whether that is what you want.
If the above one is not your expected result, please provide more details(include calculation logic and expected result with screenshot) on your requirement. Thank you.
Best Regards
First of all, thank you for your answer..
Hi @v-yiruan-msft
I need to have just one column with logical to Current and Future Values, and I need to put one blank column to separate Current and Futures Values, like the image below
Hi @twister8889 ,
I updated my sample pbix file(see attachment), please check whether that is what you want.
1. Pivot: use the names in column "Month" to create new columns (Values: Values column) in Power Query Editor
2. Add custom column in Power Query Editor
3. Create visual as shown in the below screenshot
Best Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |