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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
ralfvanwijk
Regular Visitor

custom column fuction

Hi,

 

I have two tables. Table A en B. 

Relevant fields in table A: 'ID number', End Date, Quantity, Price

Relevant fileds in table B: 'ID number', Custom date, Profile

In order to calculate the right Quantity times Price I need to have the Profile figure in table A.

 

So via custom column function in table A I tried to include Profile based on ID number and Custom Date....however it does not work... See below the function I used 

Table.SelectRows(#"GT Prfl_Fracties" , each [Kenmerk]=[Kenmerk] and [Einde levering]=[Custom date])

 

 

 

ralfvanwijk_1-1634132452054.png

 

Somebody any I idea how I can solve this? Additional complexity. In table A not all dates are included. Some day's are missing.

 

Thanks for your help!

 

Best regards,

Ralf

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @ralfvanwijk ,

 

Did you try to merge these two tables to quotethe Custom Date? Or you may try to create a date parameter when you want to filter specified date——Parameters can be used in any query step. In addition to functioning as a data filter, parameters can be used to specify such things as a file path or a server name. Parameters don't prompt for input. Instead, you can quickly change their value using Power Query.

For more information, please refer to: Parameters | Microsoft Docs

 

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

KNP
Super User
Super User

What do you want to happen for the rows with no dates?

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.