Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
26 | |
21 | |
12 | |
8 |
User | Count |
---|---|
75 | |
52 | |
45 | |
15 | |
12 |