Forum Discussion

J_Zayak's avatar
J_Zayak
Frequent Visitor
4 years ago

Bar chart with date (month) columns

Hi all,

 

Looking to re-create something thats possible in another BI platform ðŸ˜¥. I need to create a bar chart (stacked or clustered, doesnt matter) that contains monthly columns. Similar to what I managed to create in Power BI below. My example is a matrix with data bars. The issue is a requirement that each bar is color coded per partner_id. You can only conditionally format based on value for data bars (that I'm aware of). 

 

I either need to color code by partner_ID in a matrix OR build a bar chart that allows for column by month values where I can take advantage of colored bars.

 

EDIT: I'm aware of small multiples. It only allows for a max of 6 columns, which prevents me from doing 1 row.

 

 

PaymentDTPartner_ID Payment$ 
1/31/202125 $                     -  
1/31/20216 $                     -  
1/31/202132 $                     -  
1/31/202115 $                     -  
1/31/202127 $                     -  
1/31/20218 $    805,333.35
1/31/202120 $    147,195.50
1/31/202110 $      57,305.91
1/31/202122 $      18,143.44
1/31/20213 $    213,849.88
1/31/202129 $                     -  
1/31/202124 $      92,589.83
1/31/202136 $                     -  
1/31/20215 $    363,208.09
1/31/202117 $                     -  
1/31/202138 $                     -  
1/31/20217 $                     -  
1/31/202119 $                     -  
1/31/202131 $                     -  
1/31/202126 $                     -  
1/31/202112 $      27,620.59
1/31/202121 $    179,369.07
1/31/202133 $                     -  
1/31/20212 $                     -  
1/31/202114 $    594,890.36
1/31/202135 $                     -  
1/31/20214 $      24,786.70
1/31/202116 $      95,556.89
1/31/202128 $                     -  
1/31/202123 $    883,482.03
1/31/20219 $                     -  
1/31/202118 $      41,737.27
1/31/202111 $      15,406.45
1/31/202137 $                     -  
2/28/202132 $                     -  
2/28/202120 $    140,092.35
2/28/202118 $      29,100.50
2/28/20216 $                     -  
2/28/202125 $                     -  
2/28/202111 $      63,825.66
2/28/202137 $                     -  
2/28/20214 $      28,255.49
2/28/202135 $                     -  
2/28/202123 $    934,485.68
2/28/202116 $      84,500.78
2/28/202121 $    382,570.49
2/28/20219 $                     -  
2/28/202128 $                     -  
2/28/20212 $                     -  
2/28/202138 $                     -  
2/28/202114 $    683,863.95
2/28/202126 $                     -  
2/28/202119 $                     -  
2/28/202133 $                     -  
2/28/20217 $                     -  
2/28/202124 $      90,683.31
2/28/202112 $      31,695.88
2/28/202131 $                     -  
2/28/20215 $    442,907.99
2/28/202117 $                     -  
2/28/20213 $    217,393.68
2/28/202129 $                     -  
2/28/202136 $                     -  
2/28/202110 $      47,404.23
2/28/202115 $                     -  
2/28/20218 $    895,796.89
2/28/202127 $                     -  
2/28/202122 $         6,107.17
3/31/202117 $                2.31
3/31/20215 $    503,907.36
3/31/202131 $                     -  
3/31/202112 $      41,394.51
3/31/202124 $    117,809.89
3/31/202136 $                     -  
3/31/202119 $                     -  
3/31/20217 $                     -  
3/31/20212 $                     -  
3/31/202126 $    414,352.96
3/31/202114 $    778,566.15
3/31/202138 $                     -  
3/31/202133 $                     -  
3/31/202121 $    544,682.15
3/31/202123 $ 1,349,879.80
3/31/202128 $                     -  
3/31/20214 $      28,975.60
3/31/202116 $      95,605.84
3/31/20219 $                     -  
3/31/202135 $                     -  
3/31/202111 $      51,734.42
3/31/202137 $                     -  
3/31/202118 $      34,898.19
3/31/202120 $    224,294.89
3/31/202125 $                     -  
3/31/202132 $                     -  
3/31/20216 $                     -  
3/31/20218 $    987,659.42
3/31/202127 $                     -  
3/31/202115 $                     -  
3/31/202110 $      64,491.97
3/31/202129 $                     -  
3/31/202122 $      34,124.03
3/31/20213 $    314,729.03
4/30/202112 $      31,233.77
4/30/202131 $                     -  
4/30/202138 $                     -  
4/30/202124 $    131,576.91
4/30/20215 $    415,649.24
4/30/202119 $                     -  
4/30/202110 $      60,212.08
4/30/202136 $                     -  
4/30/202115 $                     -  
4/30/202117 $    182,171.24
4/30/202129 $                     -  
4/30/20218 $    945,264.67
4/30/202122 $      21,797.16
4/30/202127 $                     -  
4/30/20213 $    282,878.75
4/30/202120 $    211,358.84
4/30/202118 $      10,558.33
4/30/202132 $                     -  
4/30/202137 $                     -  
4/30/202125 $                     -  
4/30/202135 $                     -  
4/30/20216 $                     -  
4/30/202116 $      93,368.77
4/30/20214 $      22,196.38
4/30/202111 $      38,811.54
4/30/202121 $    563,428.30
4/30/202123 $ 1,206,657.47
4/30/20212 $                     -  
4/30/202128 $                     -  
4/30/20219 $                     -  
4/30/202133 $                     -  
4/30/20217 $                     -  
4/30/202114 $    719,257.77
4/30/202126 $    650,307.62
5/31/20218 $    837,045.37
5/31/202127 $                     -  
5/31/202132 $                     -  
5/31/202120 $    208,205.83
5/31/202122 $      16,792.84
5/31/202115 $                     -  
5/31/20215 $    421,371.67
5/31/202136 $                     -  
5/31/20213 $    272,172.54
5/31/202110 $      57,003.73
5/31/202124 $    114,836.31
5/31/202129 $                     -  
5/31/202119 $                     -  
5/31/202131 $                     -  
5/31/202117 $    968,051.82
5/31/202138 $                     -  
5/31/202112 $      27,549.21
5/31/202133 $                     -  
5/31/20217 $                     -  
5/31/20212 $                     -  
5/31/202128 $                3.07
5/31/202114 $    724,294.33
5/31/202126 $    623,073.90
5/31/202135 $                     -  
5/31/20219 $                     -  
5/31/202121 $    592,283.10
5/31/202116 $      93,016.62
5/31/202111 $      37,646.86
5/31/20214 $      19,811.03
5/31/202118 $      27,862.40
5/31/20216 $                     -  
5/31/202137 $                     -  
5/31/202125 $                     -  
5/31/202123 $ 1,205,102.91
6/30/202132 $                     -  
6/30/20216 $                     -  
6/30/202120 $    219,566.22
6/30/20218 $    816,552.47
6/30/202115 $                     -  
6/30/202127 $                     -  
6/30/202125 $                     -  
6/30/202118 $      50,156.52
6/30/20214 $      25,085.31
6/30/20219 $                     -  
6/30/202135 $                     -  
6/30/202137 $                     -  
6/30/202111 $      30,151.88
6/30/202116 $    144,420.84
6/30/202128 $                     -  
6/30/202123 $ 1,239,922.68
6/30/202121 $    606,871.71
6/30/202133 $                     -  
6/30/202126 $    744,049.15
6/30/20212 $                     -  
6/30/202114 $    638,059.34
6/30/202112 $      43,736.86
6/30/202138 $                     -  
6/30/202131 $                     -  
6/30/202119 $                     -  
6/30/20217 $                     -  
6/30/202124 $    109,059.32
6/30/20215 $    414,423.54
6/30/202136 $                     -  
6/30/202129 $      30,962.54
6/30/202117 $ 1,213,550.84
6/30/202122 $      13,951.44
6/30/202110 $      72,120.91
6/30/20213 $    294,137.85

2 Replies

  • mahenkj2's avatar
    mahenkj2
    Icon for Solution Sage rankSolution Sage

    You can make a bar chart/stacked chart, and use Partner ID column again in Legend property of the visual. Just play with these settings and perhaps you can achieve the desired output.

    • J_Zayak's avatar
      J_Zayak
      Frequent Visitor

      While this does color code by partner, it doesnt give me the visual format I'm looking for. The request is for it to be formatted as my initial picture above, just with partner color coded. 

       

      Thank you for your help.