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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ramshoney1225
Helper V
Helper V

Power BI DAX subquery for multiple Tables - Complex DAX need help

Hi,

 

I have 3 tables which I have mentioned in the below SQL Query, which I need to convert into a DAX formula which I'm not able to do , which similarly I need to do the same for almost 5 - 6 columns.

 

If this has figured out, I can do the remaining 5 DAX Calculated columns, which I need support on writing Complex DAX for below SQL need to conver DAX calc / measure formula

 

(
SELECT
 Substr(tablea.text_noted,0,500)
FROM   sys_data_node_tab TableA,
       sys_data_noted TableC
WHERE  tablea.id_name = tablec.id_name
AND    tablea.task_note_text LIKE '%Sender Info Update%'
AND    tablea.task_note_entered_date =
       (
              SELECT Max(tableb.task_note_entered_date)
              FROM   sys_data_node_tab TableB,
                     sys_data_noted TableC
              WHERE  tableb.task_note_text LIKE '%Sender Info Update%'
              AND    tableb.id_name = tablec.id_name )
AND    rownum = 1
)
 
as text_noted;

Please support on this or help me guidance in writing this Complex DAX.

 

Thanks

3 REPLIES 3
parry2k
Super User
Super User

@ramshoney1225 you don't need to provide full/real data, just create something dummy that is relevant and the expected output.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@ramshoney1225 it will be easier if you post sample data and the expected output.

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi @parry2k 

 

ya but i'm unable to get the data outside and the tables have huge columns as wel.

just help me on some overview in writing, so that i can create that DAX 

 

Thanks,

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.