Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
NickProp28
Post Partisan
Post Partisan

Show all the 'Word'

Dear Community,

 

NickProp28_0-1605165439282.png

I would like to have a DAX that show all the Transaction Number and Job Number if JobInvoiceNumber is blank.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NickProp28 - Sorry, Not sure if i understood this correctly but if you want to just show the rows which have JobInvoiceNumber as blank, you dont need to write DAX.

It can be done using Filter on this Visual/Filter on this page pane.

 

Just select the InvoiceNo to blank and it will show you only 2 rows. Example as below:

 

NamishB_0-1605206144581.png

 

Is this you are looking for?If not please explain further.

 

Cheers,

-Namish B

 

 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @NickProp28 -

Can you try this:

 

 

NewInvoiceNo = IF(SELECTEDVALUE('Table'[InvoiceNo]) = "", CONCATENATE(SELECTEDVALUE('Table'[TxnNumber]),SELECTEDVALUE('Table'[JobNumber])), SELECTEDVALUE('Table'[InvoiceNo]))

 

 

Capture1.PNG

 

 

 

 

 

 

 

 

Hope this helps.

 

Cheers,

-Namish B 

Dear @Anonymous ,

 

Thank you. But here is the expected outcome Im looking for.

NickProp28_1-1605170690970.png

Thats only show transactionNumber and JobNumber when the condition is blank in JobInvoiceNumber.

Anonymous
Not applicable

Hi @NickProp28 - Sorry, Not sure if i understood this correctly but if you want to just show the rows which have JobInvoiceNumber as blank, you dont need to write DAX.

It can be done using Filter on this Visual/Filter on this page pane.

 

Just select the InvoiceNo to blank and it will show you only 2 rows. Example as below:

 

NamishB_0-1605206144581.png

 

Is this you are looking for?If not please explain further.

 

Cheers,

-Namish B

 

 

amitchandak
Super User
Super User

@NickProp28 , put a visual level filter JobInvoiceNumber  is Blank

or have one or all measure isblank filter

 

calculate(countrows(Table), filter(Table, isblank(Table[JobInvoiceNumber])))

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Dear @amitchandak ,

Thanks for your response. Its work when i filter blank in visual level. But Im not get your idea about the DAX. I tried it and return nothing. Can please explain more to me? 

NickProp28_0-1605169193241.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.