Forum Discussion

pdlv's avatar
pdlv
Helper I
2 years ago
Solved

Export data problem

When i tried to Export data through Filter with empty data filtered in scatter chart

The output file is contain not only column of table but also the X, Y-axis constant line column.

 

Can It only show the 3 column that like when it have data?

 

  • Hi pdlv 

    There is No constant line in the table: This feature is specifically designed for graphs for comparison purposes.

    Data that is exported to Excel is in table form: There is no connection to the filter status. What is displayed in the visualization at the column level is what will be exported to Excel.

    This is why I created 2 visualizations: For examining data relationships, there is a graph with a constant line.

    For a data table that is supposed to be exported to Excel, there is no constant line. We have no option to manipulate what is exported to Excel other than choosing "export current layout " of table.

    The export graph displays all columns participating in the graph, including the constant line if it is a part of the graph, no matter what acrobatics we perform.
    This is not a filters and values issue, it is a function of which fields you put on the visual.
    PS
    It is unclear why one would want to export an empty table to Excel....

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

     

5 Replies

  • Hi pdlv 
    Unfortunately no, when you are exporting graphs all the data of the query is there.
    You can add the table/matrix visual with needed columns only for exporting and allow the user to switch between them with the bookmark before exporting.
    Something like :

    Guide to switch visuals here :
    https://www.youtube.com/watch?v=cFZtUzABOa8&t=57s

    pbix with my example is attached

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

     

    • pdlv's avatar
      pdlv
      Helper I

      Thanks for your reply, but my problem is when it have no data and I export, it contain the redundant column

      Export like this

      on the file it redundant the "Count of Values"

       

      • Ritaf1983's avatar
        Ritaf1983
        Super User

        Hi pdlv 

        As I mentioned, this is how it works with graphs.

        If you export the table you'll get only the columns visible at the table...with or without values.

        If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly