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.
Hi,
I have a fact table Fact_Scontrini to which a date time dimension and a customer dimension are connected.
I want replicate this oracle statement whit use of a time slicer to select the minimum and maximum of a date, and pass the values into a measure:
SELECT
MEM.K_MEMBER
FROM Dim_Member_Dormienti MEM
WHERE NOT EXIST
(
SELECT REC.K_MEMBER
FROM FACT_SCONTRINI REC
WHERE REC.K_MEMBER=MEM.K_MEMBER
AND REC.DataScontrino >= "DATA MIN SLICER"
)
and MEM.DATA_ADESIONE_MEMBRO <="DATA MAX SLICER"
The measure work fine:
The count works correctly, but what if I also want to create a detail table of the k_members and not just the count?
In the table doesn't work correctly the value of slicer.
Please Help me.
Regards
Gianluca
@Mahesh0016 but what is in the link is not for me. I'm supposed to filter a table that I'm supposed to build dynamically and I can't pass slicer filters in the formula
@Gianluca79 Refer below link if its not helps you , please share ENDOUT in table.
Fields parameters in Power BI - SQLBI
@Gianluca79 THANK YOU!!
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 |
---|---|
102 | |
101 | |
78 | |
70 | |
63 |
User | Count |
---|---|
141 | |
106 | |
101 | |
85 | |
72 |