Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
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
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
76 | |
72 | |
69 | |
48 | |
40 |
User | Count |
---|---|
61 | |
41 | |
33 | |
31 | |
28 |