Consulting

Results 1 to 6 of 6

Thread: How to Create Interactive Dashboard Tiles

  1. #1

    How to Create Interactive Dashboard Tiles

    I have a table of data with dates and columns for yes and no answers. I'm trying to create dashboard tiles that shows the most recent date a person was active and calculate the yes and no for each column.

    The goal would be to filter the people and the numbers/date would update in the dashboard tiles. I'm struggling to figure out how to properly set-up the pivot tables to summarize this data on the dashboard. Any help on proper set-up or resource recommendations that could help my process would be greatly appreciated.

    Thank you.


    dashboard example.jpg

  2. #2
    Knowledge Base Approver VBAX Wizard
    Joined
    Apr 2012
    Posts
    5,645
    I like your picture, I made a picture of it with my camera.

  3. #3
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    Quote Originally Posted by JimmyCracker View Post
    I have a table of data with dates and columns for yes and no answers. I'm trying to create dashboard tiles that shows the most recent date a person was active and calculate the yes and no for each column.
    It'd be helpful if you attached a small sample workbook so that everyone didn't have to recreate your wheel

    Use [Go Advanced] and then the paperclip icon
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  4. #4
    Quote Originally Posted by Paul_Hossler View Post
    It'd be helpful if you attached a small sample workbook so that everyone didn't have to recreate your wheel

    Use [Go Advanced] and then the paperclip icon
    Thanks Paul. Sorry about that. Here is a sample of the workbook. Thank you.

    Dashboard Data Example.xlsx

  5. #5
    Knowledge Base Approver VBAX Wizard
    Joined
    Apr 2012
    Posts
    5,645
    Link the Shape 'Question 1' to this macro:
    I renamed the shape to "Q_1"

    Sub M_snb()
      sn = Array(Sheet4.PivotTables(1).RowRange.Cells(5, 2), Sheet4.PivotTables(2).RowRange.Cells(5, 2))
      MsgBox Replace(Replace(Shapes("Q_1").TextFrame2.TextRange.Text, "#", sn(1), , 1), "#", sn(0))
    End Sub

  6. #6
    Quote Originally Posted by snb View Post
    Link the Shape 'Question 1' to this macro:
    I renamed the shape to "Q_1"

    Sub M_snb()
      sn = Array(Sheet4.PivotTables(1).RowRange.Cells(5, 2), Sheet4.PivotTables(2).RowRange.Cells(5, 2))
      MsgBox Replace(Replace(Shapes("Q_1").TextFrame2.TextRange.Text, "#", sn(1), , 1), "#", sn(0))
    End Sub

    Thank you SNB! With your macro and this video resource, https://www.youtube.com/watch?v=cKkXtyjleX4 I was able to do what I needed!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •