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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
Thanks for read me, i have a trouble, i need a add a column, that shows the max of the workday (column b) by month, but also have t condition working (columE).
thanks
Solved! Go to Solution.
try like:
Column =
MAXX(
FILTER(
TableName,
FORMAT(TableName[Fecha], "yyyymm")=FORMAT(EARLIER(TableName[Fecha]), "yyyymm")
&&TableName[IsWorkingday]="working"
),
DAY(TableName[Fecha])
)
or
Column2 =
MAXX(
FILTER(
TableName,
EOMONTH(TableName[Fecha],0)=EOMONTH(EARLIER(TableName[Fecha]),0)
&&TableName[IsWorkingday]="working"
),
DAY(TableName[Fecha])
)
it makes more sense to do with a measure.
try like:
Column =
MAXX(
FILTER(
TableName,
FORMAT(TableName[Fecha], "yyyymm")=FORMAT(EARLIER(TableName[Fecha]), "yyyymm")
&&TableName[IsWorkingday]="working"
),
DAY(TableName[Fecha])
)
or
Column2 =
MAXX(
FILTER(
TableName,
EOMONTH(TableName[Fecha],0)=EOMONTH(EARLIER(TableName[Fecha]),0)
&&TableName[IsWorkingday]="working"
),
DAY(TableName[Fecha])
)
it makes more sense to do with a measure.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 7 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 10 | |
| 10 | |
| 6 | |
| 5 |