DAX HASONEVALUE

dicken

Active Member
Joined
Feb 12, 2022
Messages
292
Office Version
  1. 365
Platform
  1. Windows
Hello,
Can someone explain or point me in the right direction, regarding hasonevalue,
and how it regards a void or null , for example when wanting to retain only a total :

Excel Formula:
   IF ( HASONEVALUE( table , column ) , "", measure )

type of thing if one 'row ' does not have a value how does the function read it?

Richard
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I don’t know, but I know how to learn DAX. Write a test measure
test = hasonevalue(factTable[random column])
this will return true or false
now add some slicers to see what happens when there is a null
 
Upvote 0
I don’t know, but I know how to learn DAX. Write a test measure
test = hasonevalue(factTable[random column])
this will return true or false
now add some slicers to see what happens when there is a null
Thanks, I'll try that. I liked the advice in your book about breaking things down into component parts, I do have another quesion,
but am working on what the problem actually is.

Richard.
 
Upvote 0

Forum statistics

Threads
1,225,399
Messages
6,184,749
Members
453,254
Latest member
topeb

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top