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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PPDiaz1978
Resolver I
Resolver I

Tabla ignora filtro objeto visual leído en variables

Hola, tengo éste código que me ignora el filtro del objeto visual

 

HF=
    VAR M1 = CALCULATE(MAX(Calendario[Fecha]))
    VAR MaxDate = SELECTEDVALUE(Calendario[Fecha], M1)
    VAR M0 = CALCULATE(MIN(Calendario[Fecha]))
    VAR MinDate = SELECTEDVALUE(Calendario[Fecha], M0)
    VAR ND = (MaxDate - MinDate) +1
    VAR T1 = CALCULATETABLE( SELECTCOLUMNS( 'Usuarios Iniciales',
                "LApp", 'Usuarios Iniciales'[LApp],
                "User_Id", 'Usuarios Iniciales'[user_Id],
                "Date", 'Usuarios Iniciales'[timestamp.1]),
                'Usuarios Iniciales'[timestamp.1] <= MaxDate &&
                'Usuarios Iniciales'[timestamp.1] >= MinDate)
                RETURN
                T1
1 ACCEPTED SOLUTION
daXtreme
Solution Sage
Solution Sage

You cannot return a table from a measure.

View solution in original post

1 REPLY 1
daXtreme
Solution Sage
Solution Sage

You cannot return a table from a measure.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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