Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi
I need to create a visual of a trend aggrigating all the items ( total 3 different items) over the quarter.
The chart should look like this:
My table looks like this :
Item Type | date |
Deployed | 25/1/2021 |
Green | 29/1/2021 |
Red | 6/2/2021 |
Yellow | 7/2/2021 |
Red | 9/3/2021 |
Green | 10/4/2021 |
Could you please guide me how to go about it ?
Thanks in advanced !
Solved! Go to Solution.
Hi @Anonymous ,
Please check:
1. Create a Calendar table and a Item Types table.
Calendar = CALENDAR(DATE(2021,1,1),DATE(2021,12,31))
Item Types = DISTINCT('Table'[Item Type])
2. Create relationships.
3. Create a measure and create a Area chart.
Measure =
CALCULATE (
COUNT ( 'Table'[Item Type] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Item Type] = MAX ( 'Item Types'[Item Type] )
&& 'Table'[date] <= MAX ( 'Calendar'[Date] )
)
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @Anonymous ,
Please check:
1. Create a Calendar table and a Item Types table.
Calendar = CALENDAR(DATE(2021,1,1),DATE(2021,12,31))
Item Types = DISTINCT('Table'[Item Type])
2. Create relationships.
3. Create a measure and create a Area chart.
Measure =
CALCULATE (
COUNT ( 'Table'[Item Type] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Item Type] = MAX ( 'Item Types'[Item Type] )
&& 'Table'[date] <= MAX ( 'Calendar'[Date] )
)
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
127 | |
76 | |
56 | |
41 | |
40 |
User | Count |
---|---|
204 | |
83 | |
73 | |
56 | |
51 |