Skip to content

Commit 9a748a4

Browse files
committed
Merged PR 88779: Corrected dataRoles display names to match changes in PBI
Corrected dataRoles display names to match changes in PBI. **Summary** User is not able to generate visuals like column chart in embedded playground. We have checked and reproduced same issue from our end. [Repro Steps] • Navigate to the Embedded Playground URL https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html# • Click on Show Case • Choose Quick Visual Creator > Start • It will take you to the next screen and select Column Chart or Waterfall Chart under Generator > Visual Type **Root Cause** Display names for two roles were changed in PBI (see [PR 79924](https://powerbi.visualstudio.com/PowerBIClients/_git/b5e9effd-6805-4409-85f3-01d4e4d64caa/pullrequest/79924?_a=files&path=%2Fsrc%2FClients%2FPowerBIVisuals%2FVisuals%2Fcapabilities%2FwaterfallChart.capabilities.ts)) - this caused a mismatch between this demo and PBI.
1 parent 3b9ad5c commit 9a748a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

demo/v2-demo/live_showcases/quick_visual_creator/showcase_quick_visual_creator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ let VisualCreatorShowcaseState = {
2727
// Define the available data roles for the visual types
2828
const visualTypeToDataRoles = [
2929
{ name: 'pieChart', displayName: 'Pie chart', dataRoles: ['Legend', 'Values', 'Tooltips'] },
30-
{ name: 'columnChart', displayName: 'Column chart', dataRoles: ['Axis', 'Value', 'Tooltips'] },
30+
{ name: 'columnChart', displayName: 'Column chart', dataRoles: ['Axis', 'Values', 'Tooltips'] },
3131
{ name: 'areaChart', displayName: 'Area chart', dataRoles: ['Axis', 'Legend', 'Values'] },
32-
{ name: 'waterfallChart', displayName: 'Waterfall Chart', dataRoles: ['Category', 'Breakdown', 'Y Axis'] },
32+
{ name: 'waterfallChart', displayName: 'Waterfall Chart', dataRoles: ['Category', 'Breakdown', 'Values'] },
3333
];
3434

3535
// Define the available fields for each data role

0 commit comments

Comments
 (0)