The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have transactions on different dates i want to show Min and Max date whatever i selected in slicer. Currently my measures are showing whatever transaction min and max date.
Statement of Account "MinDate" From "MaxDate" should be 31/05/2012 and 13/02/2024
Measures which i'm currently using are
Solved! Go to Solution.
hi, @aqsasaleem
try below
Selected Min date =
CALCULATE (
FORMAT(
MIN (cl_resultset[md_date] ),
"dd/mm/yyyy"
),
ALL( cl_resultset[md_date])
)
Selected Max date =
CALCULATE (
FORMAT(
max (cl_resultset[md_date] ),
"dd/mm/yyyy"
),
ALL( cl_resultset[md_date])
)
hi, @aqsasaleem
try below
Selected Min date =
CALCULATE (
FORMAT(
MIN (cl_resultset[md_date] ),
"dd/mm/yyyy"
),
ALL( cl_resultset[md_date])
)
Selected Max date =
CALCULATE (
FORMAT(
max (cl_resultset[md_date] ),
"dd/mm/yyyy"
),
ALL( cl_resultset[md_date])
)
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |