The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |