cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Turn Off Data Export

Is it possible to turn off the total for selected columns in the table visualisation in Power BI Desktop?

Thanks

Ian

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Turn Off Data Export

Sort of, wrap your measure in an IF statement with a HASONEFILTER like this:

 

Measure = IF(HASONEFILTER(Things[Thing]),1,BLANK())

The FALSE case is the Total row.


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Highlighted
Helper III
Helper III

Re: Turn Off Data Export

Sorry, the title should be 'Turn Off Table Totals'.

Not sure what happened there. Sorry.

Ian

Highlighted
Super User IV
Super User IV

Re: Turn Off Data Export

Sort of, wrap your measure in an IF statement with a HASONEFILTER like this:

 

Measure = IF(HASONEFILTER(Things[Thing]),1,BLANK())

The FALSE case is the Total row.


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Highlighted
Helper III
Helper III

Re: Turn Off Data Export

Incidentally, when I changed the definition of the measure that was the first column in the table so that it wouldn't display a total all the totals disappeared. I created a second version of the measure (exacltly the same HASONEVALUE version of the code but with a different name), added this to the table and it did not cause all the other totals to turn off. I moved this to be the first column and it still did not turn the other totals off.

 

This isn't a problem, it's easy to work around, but I thought I'd mention it.

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors