Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
Pls help me to create a WorkingdayID1 or WorkingdayID2 column as below.
Solved! Go to Solution.
Hi @daominhtri
Try this for your column:
WorkingDayID2 =
COUNTROWS (
FILTER (
Table1;
Table1[Date] <= EARLIER ( Table1[Date] ) && Table1[DayType] = "Workingday"
)
)
@daominhtri Create following calculation columns. Please see the attached file for your reference.
Working Day ID1 =
COUNTROWS (
FILTER (
Sheet1,
Sheet1[Date] <= EARLIER ( Sheet1[Date] ) && Sheet1[Type] = "Working"
)
)Working Day ID2 = IF(Sheet1[Type]="Working",Sheet1[Working Day ID1],BLANK())
@daominhtri Create following calculation columns. Please see the attached file for your reference.
Working Day ID1 =
COUNTROWS (
FILTER (
Sheet1,
Sheet1[Date] <= EARLIER ( Sheet1[Date] ) && Sheet1[Type] = "Working"
)
)Working Day ID2 = IF(Sheet1[Type]="Working",Sheet1[Working Day ID1],BLANK())
Hi @daominhtri
Try this for your column:
WorkingDayID2 =
COUNTROWS (
FILTER (
Table1;
Table1[Date] <= EARLIER ( Table1[Date] ) && Table1[DayType] = "Workingday"
)
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 101 | |
| 39 | |
| 29 | |
| 29 |