March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Solved! Go to Solution.
Hi @Josearce,
Have you solved your problem? If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please try the formula below.
Column = VAR currentmonth = 'Calendar Table'[Date].[MonthNo] VAR currentday = 'Calendar Table'[Date].[Day] VAR maxmonth = MONTH ( MAX ( 'Calendar Table'[Date] ) ) VAR maxday = DAY ( MAX ( 'Calendar Table'[Date] ) ) RETURN currentmonth & "/" & currentday & "-" & maxmonth & "/" & maxday
Best Regards,
Cherry
you should be able to reach your requirement just configuring the slicer with between properties (see attached)
Hi @Josearce
Please clarify if
1) "What I need is to add another columnn that on the row that says 8/27 indicates 8/27 - 9/2, on the row that says 8/28 says 8/27 to 9/2 and so on."
The above rule is constant and that for the entire period between 8/27 to 9/2 the column should have "8/27-9/2".
2) If the calendar has several years of data, is the same rule to be applied for other years for the period "8/27 -9/2"
Share some data / pbix file on google drive / one drive and share the link here.
Cheers
CheenuSing
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
Hasta means Through
Hi @Josearce,
Have you solved your problem? If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please try the formula below.
Column = VAR currentmonth = 'Calendar Table'[Date].[MonthNo] VAR currentday = 'Calendar Table'[Date].[Day] VAR maxmonth = MONTH ( MAX ( 'Calendar Table'[Date] ) ) VAR maxday = DAY ( MAX ( 'Calendar Table'[Date] ) ) RETURN currentmonth & "/" & currentday & "-" & maxmonth & "/" & maxday
Best Regards,
Cherry
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |