Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
ksivaganesh99
Helper II
Helper II

Emisión de la fecha de inicio del gráfico de Gantt

Hola a todos

Estoy usando Gantt chartpublished por Microsoft Corportation(https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380765).

Cuando la fecha de inicio es nula y la duración es 0 está recogiendo la fecha actual como fecha de inicio y duración como 1 día como se adjunta en la captura de pantalla a continuación. No quiero que se muestre nada en la línea de tiempo si la fecha de inicio es nula y la duración es 0.

Annotation 2020-05-29 201505.png

Cualquier ayuda es muy apreciada.

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hola @ksivaganesh99 ,

Puede crear una medida como la siguiente DAX:

Measure =
IF (
    SELECTEDVALUE ( 'Table'[duration] ) <> 0
        && SELECTEDVALUE ( 'Table'[StartDate] ) <> BLANK (),
    1,
    0
)

A continuación, agréguelo en el panel de filtro y establézcalo para mostrar el resultado cuya medida es 1.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hola @ksivaganesh99 ,

Puede crear una medida como la siguiente DAX:

Measure =
IF (
    SELECTEDVALUE ( 'Table'[duration] ) <> 0
        && SELECTEDVALUE ( 'Table'[StartDate] ) <> BLANK (),
    1,
    0
)

A continuación, agréguelo en el panel de filtro y establézcalo para mostrar el resultado cuya medida es 1.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
collinq
Super User
Super User

Hola ksivaganesh99 ,

Agregaría un filtro o una segmentación de datos para excluir las tareas que no tienen fecha de inicio.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.