Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Grouping different columns for counting in a visual

Hello everyone, I have a table with 4 columns, an id column and 3 same-kind columns containing some strings. The purpose is for every kind of string to count how many times it has appeared in any o...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hello thenk you for ths pbix. I have added several things to you report : 

    1. A Date and Country columns to the data table

    2. A Calendar table

    3. A relationship 1-* between Calendar table and Date column, and a relationship 1-* between Id column in Data table and id in Grouping Table.

    4. A bar chart showing how many Id by selected country and a date slicer (by year).

     

    When I select a year only rows with this date are selected and the grouping table is recomputed.

    The same occurs when I select only a Country from within the bar chart.

     

    So the content of the UNION table is dynamically filtered through the id column.

    How can I upload this report ? It seems I'm not allowed to do that.