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.
Hello Experts,
I am trying to plol count of PlannedDate Vs Date as one line and count of ActaulDate Vs Date as second line in same LINE GRAPH.
Tried using populating Calendar table but somehow not able to ply on Line Graph. Any help would be highly appreciated.
Note: Count is cumulative for both lines
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
We can create relatioships between tables like this.
To create measures as below.
Actual = IF ( ISBLANK ( COUNT ( 'Table'[ActualDate] ) ), BLANK (), CALCULATE ( COUNT ( 'Table'[ActualDate] ), FILTER ( ALL ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ) ) )
Plan = IF ( ISBLANK ( COUNT ( 'Table'[ActualDate] ) ), BLANK (), CALCULATE ( COUNT ( 'Table'[PlannedDate] ), FILTER ( ALL ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ), USERELATIONSHIP ( 'Table'[PlannedDate], 'Date'[Date] ) ) )
Hi @Anonymous ,
We can create relatioships between tables like this.
To create measures as below.
Actual = IF ( ISBLANK ( COUNT ( 'Table'[ActualDate] ) ), BLANK (), CALCULATE ( COUNT ( 'Table'[ActualDate] ), FILTER ( ALL ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ) ) )
Plan = IF ( ISBLANK ( COUNT ( 'Table'[ActualDate] ) ), BLANK (), CALCULATE ( COUNT ( 'Table'[PlannedDate] ), FILTER ( ALL ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ), USERELATIONSHIP ( 'Table'[PlannedDate], 'Date'[Date] ) ) )
Thank You @v-frfei-msft for the response. As I can see in data for PlannedDate as July 17 2019 but in line graph I cannot se plot for the same.Also max date for planned date is 23 July 2019 and In line graph we see its plotted till 24th July 2019.
Is there any way to plot exact data points on line graph? ActualDate have been plotted exactly as relationship is active for that. If we active PlannedDate relationship then ActualDate plot gets dropped.
Could you please suggest me on this.
Thanks a lot!!
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |