Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have the master calendar all set with holidays flagged. I created WorkDay =1 or 0 to indicate if its a workday or not (sat, sun and holidays = 0).
Solved! Go to Solution.
Crossing my fingers. Seems to work (the missing piece of the equation)
So we found the issue. Apparently relationships are active in a calculation so it first filtered the calendar for one date and took the IsWorkday which is only 0 or 1. So now the question becomes - how can I suppress the relationship for this column ?
1. Find a way to do this in power query
2. Find a way to do this in DAX.
Scouring the community for a solution
Crossing my fingers. Seems to work (the missing piece of the equation)
Hi,
I do not see a mistake there. Share the link from where i can download your PBI file.
I created to columns in One of my Calender
WeekDay = WEEKDAY('Compare Date'[Compare Date])
WeekDay = WEEKDAY('Compare Date'[Compare Date])And I able to sum same within this calendar
Also There is another Calendar not join to this one, Able to do with that to
Weekdays Second Cal = ( VAR _Cuur_start = Min('Date'[Date Filer]) VAR _Curr_END = Max('Date'[Date Filer]) return calculate(sum('Compare Date'[Working Day]),'Compare Date'[Compare Date] >= _Cuur_start && 'Compare Date'[Compare Date] <= _Curr_END ) )
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 33 | |
| 33 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 67 | |
| 45 | |
| 30 | |
| 26 |