The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello
I would like NOT to see the dates/days of the weekend, so Saturday(12-4) and Sunday13-4), not in the graph.
How can I do that so that only the working days are visible?
Solved! Go to Solution.
@Frixel
step 1: Kindly create a new table then paste my code over there.
step 2:create a active relationship with newly create calandar with your fact table
Step 3: Drag month year field from calendar in X axis.
Step 4: select visual and then drag isworking day in filter section and then select No to filter record like below
if you follow above steps then it will fulfill your requirement.
Thanks
Harish M
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
@Frixel Hey,
I am using this calender in my Power bi report.
@Frixel
step 1: Kindly create a new table then paste my code over there.
step 2:create a active relationship with newly create calandar with your fact table
Step 3: Drag month year field from calendar in X axis.
Step 4: select visual and then drag isworking day in filter section and then select No to filter record like below
if you follow above steps then it will fulfill your requirement.
Thanks
Harish M
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
i still see the weekend dates in the graph.
@mdaatifraza5556 & @pankajnamekar25
Do I create that new column in the existing query or do I create a new query for it?
Hi @Frixel
As you have a date column,,,,,,,,,,, in the same table add calculated col "isweekday" and drag that to visual level filter to show only weekday data.
As you can see below I created with some sample data.
If this answers your questions, kindly accept it as a solution and give kudos.
New column and that column yiu will add to visual filter.
Thanks,
Pankaj Namekar | LinkedIn
If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
Hi @Frixel
Can you please try the below steps :
1. Create calculated column by using below DAX
IsWeekend = IF(WEEKDAY([Date], 2) > 5, "Weekend", "Weekday")
2. Drag IsWeekend on visual level filter and set it to "Weekday" only.
If this answers you questions, kindly accept it as a solution and give kudos.
Hello @Frixel
You can create a calculated Column in your Calendar table
IsWeekday = WEEKDAY('Date'[Date], 2) <= 5
Add visual level filter using created column
Thanks,
Pankaj Namekar | LinkedIn
If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
41 |