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 need to move the data from 1st cell into 2nd cell and leave the 1st cell empty.
Can anyone guide me in doing this in PowerBI? I have the screenshot which is required.
Solved! Go to Solution.
Hi @siva3012 ,
To create a calculated column as below.
Column =
VAR d =
CALCULATE (
MAX ( 'Table'[Local date Time] ),
FILTER (
'Table',
'Table'[Local date Time] < EARLIER ( 'Table'[Local date Time] )
)
)
RETURN
CALCULATE (
MAX ( 'Table'[Value] ),
FILTER ( 'Table', 'Table'[Local date Time] = d )
)
For more details, please check the pbix as attached.
Hi @siva3012 ,
To create a calculated column as below.
Column =
VAR d =
CALCULATE (
MAX ( 'Table'[Local date Time] ),
FILTER (
'Table',
'Table'[Local date Time] < EARLIER ( 'Table'[Local date Time] )
)
)
RETURN
CALCULATE (
MAX ( 'Table'[Value] ),
FILTER ( 'Table', 'Table'[Local date Time] = d )
)
For more details, please check the pbix as attached.
Hi Siva3012,
I've seen a few ways to calculate this. I find that the best way to calculate is creating a calculated column using the DAX formula below:
@Anonymous : Thanks your reply. I have applied the Dax code, but i am not getting the required output. In some places the value is not the same. I have highlighted data & have herwith attcahed in this screenshot. Can you please have a look at this
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |