Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Solved! Go to Solution.
Hi @Josearce
Create three calculated columns as below
year = YEAR([date]) weeknum = WEEKNUM([date],2) date custom = CONCATENATE ( CONCATENATE ( FORMAT ( CALCULATE ( MIN ( [date] ), ALLEXCEPT ( Sheet8, Sheet8[year], Sheet8[weeknum] ) ), "m/dd" ), "-" ), FORMAT ( CALCULATE ( MAX ( [date] ), ALLEXCEPT ( Sheet8, Sheet8[year], Sheet8[weeknum] ) ), "m/dd" ) )
Best Reagrds
Maggie
Hi @Josearce
Create three calculated columns as below
year = YEAR([date]) weeknum = WEEKNUM([date],2) date custom = CONCATENATE ( CONCATENATE ( FORMAT ( CALCULATE ( MIN ( [date] ), ALLEXCEPT ( Sheet8, Sheet8[year], Sheet8[weeknum] ) ), "m/dd" ), "-" ), FORMAT ( CALCULATE ( MAX ( [date] ), ALLEXCEPT ( Sheet8, Sheet8[year], Sheet8[weeknum] ) ), "m/dd" ) )
Best Reagrds
Maggie
Thanks Maggie...I did something with the formula to present it more organized:
Weekfromto =
VAR Desde = format(Calculate(min('Calendar Table'[Date]),ALLEXCEPT('Calendar Table','Calendar Table'[Year],'Calendar Table'[Week#])),"mmm-dd-yy")
VAR Hasta = format(Calculate(max('Calendar Table'[Date]),ALLEXCEPT('Calendar Table','Calendar Table'[Year],'Calendar Table'[Week#])),"mmm-dd-yy")
RETURN
Desde &" - "& Hasta
Desde means From and Hasta means Through
User | Count |
---|---|
98 | |
90 | |
78 | |
72 | |
65 |
User | Count |
---|---|
114 | |
98 | |
96 | |
68 | |
67 |