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.
Hi everyone,
Im making a measure that let you count the number of repetitions but if they have the same date then count it has 1 for that day
Solved! Go to Solution.
Hi @majo23 , please try this.
Count =
VAR CurrentLastUpdatedBy = MAX(Sheet1[LastUpdatedBy])
VAR StagingTable = SUMMARIZE(FILTER(ALLSELECTED(Sheet1),
Sheet1[LastUpdatedBy] = CurrentLastUpdatedBy),
Sheet1[LastUpdatedBy],
Sheet1[CutDate],
"Dummy_Count", 1
)
Var Result = COUNTX(StagingTable,[Dummy_Count])
Return
Result
Thanks for the reply, I made an update with the example file
Hi @Arul I add a picture, also you should be able to download the report if you want
Hi @majo23 , please try this.
Count =
VAR CurrentLastUpdatedBy = MAX(Sheet1[LastUpdatedBy])
VAR StagingTable = SUMMARIZE(FILTER(ALLSELECTED(Sheet1),
Sheet1[LastUpdatedBy] = CurrentLastUpdatedBy),
Sheet1[LastUpdatedBy],
Sheet1[CutDate],
"Dummy_Count", 1
)
Var Result = COUNTX(StagingTable,[Dummy_Count])
Return
Result