PowerBI: How to get distinct count for a column in a table, while grouping for many columns separately
问题 I have a table with multiple date columns, and a single label column, as shown by following code Data = DATATABLE ( "Date1", DATETIME, "Date2", DATETIME, "Label", STRING, { { "2020-01-01","2020-01-02", "A" }, { "2020-01-01","2020-01-01", "A" }, { "2020-01-01","2020-01-02", "B" }, { "2020-01-01","2020-01-01", "D" }, { "2020-01-01","2020-01-02", "E" }, { "2020-01-02","2020-01-01", "A" }, { "2020-01-02","2020-01-02", "B" }, { "2020-01-02","2020-01-01", "C" } } ) I want to plot a chart of count