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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Sugumaran31
Helper I
Helper I

Convert to Qlik expression to dax

Hi Guys,

 

I need to Convert to Qlik expression to Dax for opening balance this expression is working in Qlik but not in Power BI. I will share the expression Qlik and Power BI. 

Qlik expression :Sum({<PROW={1},Trans_Date={"<$(=FDATE)"}>} PLAMOUNT)

Power BI  Dax :CALCULATE([cftotal],FILTER('Cashflow',Cashflow[PROW]=1 && Cashflow[T2VCHDT]<MIN('calendar'[Date])))

 

 

10 REPLIES 10
MFelix
Super User
Super User

Hi @Sugumaran31 ,

 

The DAX expression seems to be correct in terms of syntax however the context of the calculation can change the calculation without any further information is difficult to give you a good answer.

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



hi @MFelix 

I shared the link for the power bi file on google drive

 

https://drive.google.com/file/d/16c0F5h1jwe_0PLzSNrogecSOrP_hAQei/view?usp=sharing 

The link is asking for password to access.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



For the file you share what is the expected balance that we should get?

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



I have already shared the image below. I will share one more time

 

opening balance

Sugumaran31_0-1709713305073.png

 

 

closing balance

 

Sugumaran31_1-1709713334382.png

 

 

opening balance measure from qlik :Sum({<PROW={1},Trans_Date={"<$(=FDATE)"}>} PLAMOUNT)

 

closing balance measure from qlik :Sum({<PROW={33},Trans_Date={"<=$(=TDATE)"}>} PLAMOUNT)

 

 

Hi @Sugumaran31 ,

 

I apologize for the request however I cannot match the image you provided with the correct page on the report and the correct lines and amoutns since the date period is not the sm eand the names also appear to be different.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Sorry for being late reply and thanks for helping and giving a valuable time😊

I don't know how to share the BIX file in the community 

this Qlik application for opening balance and closing balance refer to the below image

 

Sugumaran31_0-1709286647552.png

 

Sugumaran31_1-1709286696008.png

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.