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.
I need End Date 28 January 2023 and start date is 29 january.
please help regarding this.
hi @Rohit_Curate109 ,
not if i fully get you, try to plot a visual with your dates[mmm yyyy] column and two measures like:
StartDate =
MINX(
FILTER(
dates,
dates[mmm yyyy] = MAX(dates[mmm yyyy])
),
dates[date]
)
EndDate =
MAXX(
FILTER(
dates,
dates[mmm yyyy] = MAX(dates[mmm yyyy])
),
dates[date]
)
or
could you provide how your calendar table is defined (the DAX code?) and what do you expect of that?
Hi, Thank you for the Reply.
The solution You have provided is working good at some extent, but If I talk about my calendar.
It is from 3 jan 2021 to 28 december 2024, and the Dax you have provided is coming right but for Dec-24 month.
I need Start Date of every month and same goes for End Date.
Because I want to calculate MTD, YTD, QTD for Non Standard Calendar which has Max Date for Future Month which is Dec-24.
User | Count |
---|---|
16 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |