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 Team,
Greetings!!
I need to compare first week of current quarter with first week of last quarter in PowerBI and display the same using Clustered Column Chart.
Can you please guide me with this?
For example:
I want to compare 1st week of current quarter (i.e. Jan-Mar 2018 ) and 1st week of last quarter (i.e. Oct-Dec 2017).
Thank you so much in advance.
Regards,
Ani91
Solved! Go to Solution.
Hi @Anonymous,
I think the point here is how to find the first week of the Quarter. You can check out the demo here.
1. What's the first week of the quarter? In other words, does it start from the first day of the quarter?
2. Add a new column like this to identify the first week.
FirstWeekOfQuarter = VAR firstweek = CALCULATE ( MINX ( FILTER ( CALCULATETABLE ( SUMMARIZE ( 'Calendar', 'Calendar'[Quarter], 'Calendar'[Week], "QWDays", COUNT ( 'Calendar'[Week] ) ), ALLEXCEPT ( 'Calendar', 'Calendar'[Quarter], 'Calendar'[Week] ) ), [QWDays] = 7 ), [Week] ), ALLEXCEPT ( 'Calendar', 'Calendar'[Quarter] ) ) RETURN IF ( firstweek = [Week], firstweek, BLANK () )
Best Regards,
Dale
Hi @Anonymous,
I think the point here is how to find the first week of the Quarter. You can check out the demo here.
1. What's the first week of the quarter? In other words, does it start from the first day of the quarter?
2. Add a new column like this to identify the first week.
FirstWeekOfQuarter = VAR firstweek = CALCULATE ( MINX ( FILTER ( CALCULATETABLE ( SUMMARIZE ( 'Calendar', 'Calendar'[Quarter], 'Calendar'[Week], "QWDays", COUNT ( 'Calendar'[Week] ) ), ALLEXCEPT ( 'Calendar', 'Calendar'[Quarter], 'Calendar'[Week] ) ), [QWDays] = 7 ), [Week] ), ALLEXCEPT ( 'Calendar', 'Calendar'[Quarter] ) ) RETURN IF ( firstweek = [Week], firstweek, BLANK () )
Best Regards,
Dale
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 |
---|---|
112 | |
97 | |
83 | |
67 | |
61 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |