cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

convert Cobol logic to Power bi dax

Hi All,

 

Can someone pls help in converting below cobol logic to dax.

{

Hold value= some previous Date;

hold value1=some previous vendor ID

if(Hold value=current date & hold value1= current vendor)

{

do nothing;

}

else

{

c=c+1:

}

Hold value= curr Date

Hold value1=curr vendor

}

Here, date and vendor id are my columns.

 

 

3 REPLIES 3
Highlighted
Super User IV
Super User IV

Re: convert Cobol logic to Power bi dax

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

 

 


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




Highlighted
Community Support
Community Support

Re: convert Cobol logic to Power bi dax

Hi @vamshik153 ,

Please share the sample data and your expected results. Then we will understand clearly about your request and solve it quickly. Just converting formulas may not work in the actual environment.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Community Support
Community Support

Re: convert Cobol logic to Power bi dax

Hi @vamshik153 ,

Could you tell me if your problem has been solved? Welcome to share your own solution. More people will benefit from the thread. If you still need help, please share some sample data and your expected result.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors