Forum Discussion
graph considering all weeks
- 8 years ago
Anonymous
One way is to create a new calculated table for chart purpose
From the Modelling Tab >>>New Table
TableforChart = GENERATESERIES ( MIN ( TableName[Week] ), MAX ( TableName[Week] ) )
This will give you a single column table of week numbers including weeks that are missing in your table. Rename the Column to "week"
Then create a relationship between yourtable and New Table.
Then add a calculated column to it
Score = IF ( ISBLANK ( RELATED ( TableName[Score] ) ), 0, RELATED ( TableName[Score] ) )
Now create a chart using this New Table
Anonymous
One way is to create a new calculated table for chart purpose
From the Modelling Tab >>>New Table
TableforChart = GENERATESERIES ( MIN ( TableName[Week] ), MAX ( TableName[Week] ) )
This will give you a single column table of week numbers including weeks that are missing in your table. Rename the Column to "week"
Then create a relationship between yourtable and New Table.
Then add a calculated column to it
Score = IF ( ISBLANK ( RELATED ( TableName[Score] ) ), 0, RELATED ( TableName[Score] ) )
Now create a chart using this New Table
- Zubair_Muhammad8 years agoCommunity Champion