fredrikheden / summarytable

Summary Table Custom Visual for Power BI
33 stars 17 forks source link

directColumnRef double condition #47

Open 19sat opened 1 year ago

19sat commented 1 year ago

Hello everyone!

Somebody knows how I can write a double condition if I want to replace in the same row two different values in two different columns?

If I write one condition and add another one, it takes only the last one and not two at once...

Thanks a lot!

This is my code. So it does not work if I write an additional condition under "directColumnRef" :(

{ "title": "Sales", "formula": "[I. Sales]", "rowStyle": "", "visible": true, "cellRowHeaderStyle": "", "cellRowDataStyle": "", "directColumnRef": [ { "columnRefName": "[MA_2021]", "columnReplaceRefName": "[Sales 2021]" } ]