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

How to display month name and year in Power apps

Hi ,

 

I have a year (2016), month number (1) and a salary month (2016-2)  column  in database.  wanna display  as Month name and year (Feburary , 2016 ) in power apps.  how can I display date in such format...  (see attached data image)

 

 

dispaly date.png

 

 

 

 

 

 
 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: How to display month name and year in Power apps

Hi @atif1455 

 

Can you try to use the below expression:

Text(Date(YearValue,MonthValue,1),"[$-en-US]mmmm yyyy")

Here, YearValue and MonthValue needs to be replaced with the details returned from the SQL datasource. You can use LookUp to get the specific record like:

Text(Date(LookUp(SQLDataSource, Col1 = Value1).year ,LookUp(SQLDataSource, Col1 = Value1).Month,1),"[$-en-US]mmmm yyyy")

If this differs, please share more details so that we might be able to help you better.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: How to display month name and year in Power apps

Hi @atif1455 

 

Can you try to use the below expression:

Text(Date(YearValue,MonthValue,1),"[$-en-US]mmmm yyyy")

Here, YearValue and MonthValue needs to be replaced with the details returned from the SQL datasource. You can use LookUp to get the specific record like:

Text(Date(LookUp(SQLDataSource, Col1 = Value1).year ,LookUp(SQLDataSource, Col1 = Value1).Month,1),"[$-en-US]mmmm yyyy")

If this differs, please share more details so that we might be able to help you better.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

atif1455
Level: Powered On

Re: How to display month name and year in Power apps

Thanks for the feedback it works 

Helpful resources

Announcements
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 (Last 30 Days)
Users online (4,831)