cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
juanca Regular Visitor
Regular Visitor

Using MEASURE as a visualization filter (slicer or page level filter)

Hi everyone,

 

I have created a MEASURE in order to calculate the difference between two columns in my visualization. Both columns come from different tables. Below we can see the MEASURE field (red) that is the yellow one minus the green one:

 

duda Measure by row.png

 

I have done a MEASURE replacing my previous extra table (with the calculus in a new column) structure because I think is more elegant in terms of programmation but... it seems I cannot use this MEASURE as a slicer or page level filter, any suggestion to use the MEASURE for this function?

 

If you need extra information do not hesitate to ask me.

 

Thanks a lot for your help!

1 ACCEPTED SOLUTION

Accepted Solutions
Baskar Super Contributor
Super Contributor

Re: Using MEASURE as a visualization filter (slicer or page level filter)

Hi dude,

 

Calculated Measure we cannot use in Filter . Except in visual level filter.

 

If u want to exclude any unwanted value we can do at DAX end . 

 

If need any help let me know in DAX. 

 

 

Cheers dude.

View solution in original post

5 REPLIES 5
Super User
Super User

Re: Using MEASURE as a visualization filter (slicer or page level filter)

Here are the links which can help you understand Measures vs Column, hope it is helpful and help you to decide what is the best option for you, if need further help, let me know.

 

 

https://projectbotticelli.com/knowledge/dax-calculated-columns-vs-measures-video-tutorial

 

http://www.microsofttrends.com/2015/11/02/power-bi-calculated-columns-vs-calculated-measures-an-exam...






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

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Baskar Super Contributor
Super Contributor

Re: Using MEASURE as a visualization filter (slicer or page level filter)

Hi dude,

 

Calculated Measure we cannot use in Filter . Except in visual level filter.

 

If u want to exclude any unwanted value we can do at DAX end . 

 

If need any help let me know in DAX. 

 

 

Cheers dude.

View solution in original post

juanca Regular Visitor
Regular Visitor

Re: Using MEASURE as a visualization filter (slicer or page level filter)

Hi both, sorry for my late answer to this issue.

 

@parry2k

 

Thanks a lot for your answer, I like the second link you provided because is very understandable and it makes clear where the differences between both methods are.

 

@Baskar

 

Thanks a lot for your answer, I will accept yours as solution because is more explicit and the possibility to use the measure as a visual level filter is very interesting in my opinion (if I'm not wrong is like a slicer but slightly more difficult to set than it, isn't it?)

kmahgoub Visitor
Visitor

Re: Using MEASURE as a visualization filter (slicer or page level filter)

Hi @Baskar can you share more details on how to engineer calculated measure a slicer (in my case power bi desktop is connected SQL Server directquery mode)
t4sadam Occasional Visitor
Occasional Visitor

Re: Using MEASURE as a visualization filter (slicer or page level filter)

Hey Baskar,

 

Is there any chance you could explain how you do this with Dax? I have a similar issue. 

 

Thank you!

Adam

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors (Last 30 Days)