Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hola a todos,
Tengo una salida de datos en mi tabla sql en formato numérico, al intentar calcuate la salida diferenciada viene en formato numérico, pero la salida requerida está a continuación.
11.35 a 11:21 y debe redondear a las 11:00
11.65 a 11:39 y debe redondear a 11:30
12:00 a 12:00 y no debe redondear a las 12:00
Solved! Go to Solution.
Hola @askspepsi ,
si obtuve su lógica correctamente, pruebe los siguientes formularios en nuevas columnas:
Half hour =
ROUND('Table'[Value] / 24 * 48,0) / 48
Desired Output =
IF(
MINUTE('Table'[Value] / 24) <= 30 ,
ROUND('Table'[Value] , 0 ) / 24 ,
ROUND('Table'[Value] / 24 * 48 , 0 ) / 48
)
Saludos FrankAT
Hola @askspepsi ,
si obtuve su lógica correctamente, pruebe los siguientes formularios en nuevas columnas:
Half hour =
ROUND('Table'[Value] / 24 * 48,0) / 48
Desired Output =
IF(
MINUTE('Table'[Value] / 24) <= 30 ,
ROUND('Table'[Value] , 0 ) / 24 ,
ROUND('Table'[Value] / 24 * 48 , 0 ) / 48
)
Saludos FrankAT
sorry for the late reply,
Thanks for the update. this is the extact output i required.
regards
askspepsi
@askspepsi , compruebe si puede crear una columna sugerida en este post
https://community.powerbi.com/t5/Desktop/Round-up-time-to-next-hour/td-p/701404
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |