cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JonasH
Level: Powered On

Filter SQL to Label

Hey,
I want to display the value of a SQL field.

In the same row as a specified field.

 

For example, I want to display the value countpositions checked by the Current User.

 

example:

User().FullName = "Jonas";
Label1.Text = "5"
2019-10-15 12_21_25-SQLQuery24.sql - de01sqlbidev.AzubiTest (TRUETZSCHLER_jh009192 (80)) - Microsoft.png 

Thanks for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Filter SQL to Label

Hi @JonasH 

You can use the LookUp function to do this. The syntax would look like this:

LookUp('[dbo].[YourSQLDataSource]',
CheckedBy = "Jonas").countpositions

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Filter SQL to Label

Hi @JonasH 

You can use the LookUp function to do this. The syntax would look like this:

LookUp('[dbo].[YourSQLDataSource]',
CheckedBy = "Jonas").countpositions

View solution in original post

JonasH
Level: Powered On

Re: Filter SQL to Label

@timl 
Thank you very much.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,616)