Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
79 | |
59 | |
36 | |
35 |
User | Count |
---|---|
99 | |
57 | |
56 | |
46 | |
40 |