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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I want to make a new column with the values based of a existing column. At the moment I have the following columns:
1. 'TypeWorkTime' with two values: planning and realtime
2. 'Time'
So I want to make 2 new columns called planning and worktime with the values of Time, I have tried the following DAX formula but I am doing something wrong.
Planning = 'Trello cards'[Time] ; 'Trello cards'[TypeWorkTime] = "Planning"
Thanks,
Shabby
Solved! Go to Solution.
I'm not really sure what you are trying to do here. If you want to create a new calculated column that only returns the time if the type is "planning" then you would write it like this
Planning = IF( 'Trello cards'[TypeWorkTime] = "Planning" ; 'Trello cards'[Time] )
However, if the point of this column is just to ba able to sum up the planning time then you don't need a new column you can do all that in a measure.
eg.
Planning = CALCULATE( SUM( 'Trello cards'[Time] ) ; 'Trello cards'[TypeWorkTime] = "Planning" )
I'm not really sure what you are trying to do here. If you want to create a new calculated column that only returns the time if the type is "planning" then you would write it like this
Planning = IF( 'Trello cards'[TypeWorkTime] = "Planning" ; 'Trello cards'[Time] )
However, if the point of this column is just to ba able to sum up the planning time then you don't need a new column you can do all that in a measure.
eg.
Planning = CALCULATE( SUM( 'Trello cards'[Time] ) ; 'Trello cards'[TypeWorkTime] = "Planning" )
The first solution worked perfectly, thanks!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 121 | |
| 103 | |
| 46 | |
| 30 | |
| 24 |