Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Showing total in a table

Dear all, good morning. 

 

I have the below table and would like to create a chart that would showcase the total of cargoes by day.

 

Cargo IDEntered DayReleased Date
A01/01/202103/01/2021
B02/01/202104/01/2021
C01/01/202102/01/2021

 

I managed to create it using the below with speedramps  help

 

Cargoes in Warehouse =

VAR mydate = SELECTEDVALUE('Calendar'[Date])
var min_date = CALCULATE(MIN('Calendar'[Date]))
Var max_date = CALCULATE(MAX('Calendar'[Date]))
VAR validrows = FILTER(Commodity_List, Commodity_List[Warehouse Receipt Date] <= min_date && Commodity_List[Release Out Date] >= max_date)
RETURN
COUNTROWS(validrows)
 

 

But now I need to have a table/matrix containing all cargo ID for the month, so if I click on a specific month it will show all cargoes for that month as a list / table.

 

Could anyone help me?

 
  • Hi again Pedro !

    I have updated the example 

     

    There is a By Mate page and By Month page.

     

    Click on day or month on the graph and all the valid cargo details will be displayed in the bottom visual.

     

    This is done by adding the Valid Cargos field in the filter panel

    See attached screen print

     

    please click thumbs up and accept solution, thank you.

     

     

     

5 Replies

  • Hi again Pedro !

    I have updated the example 

     

    There is a By Mate page and By Month page.

     

    Click on day or month on the graph and all the valid cargo details will be displayed in the bottom visual.

     

    This is done by adding the Valid Cargos field in the filter panel

    See attached screen print

     

    please click thumbs up and accept solution, thank you.

     

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      speedramps 

       

      But how can I see which cargoes are being considered for each date? I would like to click on the chart and show me on a table what are the ones considered (like cargo A,B for day2)