Flow - Format Number advanced tips and tricks

I put together a video to celebrate the new update in Microsoft Flow (Power Automate) and Logic Apps - formatNumber()

The video explains 3 tips and 2 gotchas.

  • Tip 1: Use action in prod right now

  • Tip 2: Use ### and 000 patterns in formatNumber() expressions

  • Gotcha 2.1: May be don't use of $### - use $##0

  • Gotcha 2.2: May be don't use $ - use C or C2

  • Tip 3: Use formatNumber in collections with Select/Create HTML

If you want the clipboard paste of the Format Number action to use, use this.

{
    "id": "c1fa8a84-e2c0-4be0-823e-3a45-1e6834aa",
    "brandColor": "#a098e6",
    "connectionReferences": {},
    "icon": "https://psuxaustralia.azureedge.net/Content/Images/DesignerOperations/numberfunctions.png",
    "isTrigger": false,
    "operationName": "Format_number",
    "operationDefinition": {
        "type": "Expression",
        "kind": "FormatNumber",
        "inputs": {
            "number": 12345,
            "format": "C4"
        },
        "runAfter": {
            "Compose": [
                "Succeeded"
            ]
        }
    }
}

True Governance of the Power Platform

track-2.jpg

It’s very early Sunday morning and I’ve just returned from an red-eye flight home from a week spent in Perth with Paul, Ashlee and Terrie Culmsee, meeting their many clients, participating in Perth App in a Day, and talking about PowerApps, Flow and Power Platform Governance.

It is testament to Paul’s nurturing of his clients that every company that I talk to on this trip have the same forward thinking mentality.

Many of the companies I had talked to online, or here in Sydney also shares these same traits. They want to implement proper governance of the power platform.

You might be on the same journey - I wish you the best, and I want to support you in this quest.

True Governance is about creating a partnership

The scenario is the same, over and over and over. Business wants agility, they want applications that traditional IT struggles to deliver.

IT already struggle with supporting existing applications created by Business - they worry this is yet another thing they need to support - these “citizen developed apps” will fall into their laps, not following best practices, not documented, and yet highly business critical.

Power Platform is an opportunity, to ride this wave and fix the partnership problem in your business.

True leadership, are the managers seizing this unique opportunity to (re)engage Business and IT

Because traditional IT has become the department of “No” - modern business units and IT doesn’t really want to talk. And in the last few years, many businesses rode the Microsoft Power Platform submarine to get applications developed under the radar to reach critical mass first. Always easier to ask for forgiveness than blessing.

In this paragraph, I want to speak to you - the business. You must understand, there is an virtual ceiling you are about to hit. Let me explain.

See - your empowered citizen developers are learning as they go, their first apps may not be that fantastic, while they solve critical business problems - there may be bugs and we see there will always be more incremental improvements needed.

As the number of Power applications you create increases, your limited number of citizen developer will reach capacity. Without being able to properly support these apps, they can’t make more apps.

You still need more apps. But your citizen devs’ hands are now full. Worse, what happens if they take a role elsewhere? Who can support these apps?

The correct answer is, business should take a cost code to IT and ask IT to support these apps. IT should be paid to build internal capacity to understand, administer, and govern the Power Platform.

Ideally, someone that understands the Power Platform should lead this team and effort. They are the bridge that talks to Business and IT. The ultimate navigator that will unite the business and IT.

Look across to any successful enterprises now scaling to hundreds and thousands of Power Apps and Flows. This pattern is the same. Over and over.

IT must realize that part of governance is this great opportunity - go talk to your business. Find the super maker that is helping with adoption, and able to put together business plans that will include a maintenance support fee to IT. Stop being “free support” (see my previous blog post) and start being part of value generation in your business.

An emerging trend is that the internal super Power Platform maker joins the IT side of the business to be that navigator. Governance and adoption tools (I have a list near the end) support the quest of this navigator. Business pays IT to support and maintain more Power Apps and Flows.

Do you think this is not possible? This is a fairy tale? I saw these relationships, these bridges forming everywhere. Is this not your experience? Have a look around.

If you are an IT manager, rather than look at the Power Platform with fear, close your eyes, and reopen them and see it as the biggest opportunity you have ever had in the last decade.

A low code platform the Business wants, with tools and reports for IT to properly function and support this platform. Don’t squander this and drive your business away to some real Shadow IT platform and now you can’t even monitor that.

Governance tools are available - but true governance is People willing to talk

Business and IT not talking to each other is a problem. Here, is an opportunity to solve that. Take your off-shored IT back in-house. Be part of value generation.

If you want partnerships, I will help. There are many in the community that want to help you. Many Power platform champions are literally living this reality and working in this role. Borrow their job template and make it yours, initate the conversation - take it to your manager in business or in IT and say, hey, let’s do this.

I wanted to list a series of tools available. Some has (custom) tag and would need self assembly.

Build tools, build bridges

Disclaimer - I build Power Studio and Power Clarity. The point is, there are tools to provide governance on this platform. This is FAR better than choosing a different tool that IT has no means of providing any meaningful governance.

It would be somewhat easy for me to run purely on fear and say buy “my tools” - they will lock everything down and give you governance. Build a wall. You need a wall. Buy my wall.

If some snake oil salesman comes to you and say that, I want you to understand, real governance is not a wall. There is already enough of a chasm between business and IT.

Real governance is an opportunity to take this platform and transform your apps, yourself, your business and the relationships in your business. It’s hard, potentially very rewarding work.

What do you build your governance for?

Today, governance is a word thrown around without a care of what it actually means. We need to do governance - for what? No that’s all, we just need to do governance.

I wanted to share an article from Paul Culmsee. Those that sees governance as the goal, and not the means to an end, there’s something we all have to let go. Why do we implement governance? What outcome do we desire?

https://medium.com/@paulculmsee/how-to-doom-office365-governance-over-and-over-again-9feede8ef14a

If you have never thought about why you are implementing governance, and you don’t know what your end goal is, then take this quest:

We build governance, because our IT and Business must form a partnership. Our entire governance strategy is to make that partnership work.

The choices are yours, but I think you shouldn’t take forever to think about them

Do the right thing. Chances like this don’t come that often. Don’t look back and think, ah, I didn’t take that opportunity and initiate that conversation, and a decade later, I’m still only a cost center, still fighting shadow IT, and the board still wants to offshore my team.

That’d be unfortunate.

Presentations at the Digital Workplace Conference Australia 2019 I’m looking forward to

It’s really exciting for me to be back at the Digital Workplace Conference again in 2019, this is one of the first major conferences that I was very fortunate to be able to present at, and I have always looked forward to attend, to learn and to give back and present the latest happenings in SharePoint, Office 365, Azure and now also Power Platform.

The Digital Workplace Conference will be on August 6-7 in Sydney.

DWCAU-temp-dates.png


This year I’m presenting a topic (and sorry for the slightly concatenated topic name):

A quick introduction to Microsoft Flow, but rapidly takes audience deeper to see the possibilities of the types of solutions possible


There probably should be a line-break in there somewhere. You have to use your imagination for this title for that missing character, sorry!

Lets try that again!

An introduction to Microsoft Flow: Office 365 - Automated

This is an introduction session on Microsoft Flow, but my aim isn’t to show you a simple alert email. My aim is to explain that we have far transcended “Workflows”. It’s not just workflow. We are way beyond that - what we really have is a full Automation Engine. It is Office 365 - Automated.

Be very careful, writing Microsoft Flow is completely addictive.


The Sessions I want to see!

  • Become The Expert of You – Power Skills for Personal Development - Heather Newman

  • Trust-Based Corporate Culture: How to Kick Fear and Toxicity Out of the Workplace - Heather Newman

  • The Fruit Salad Formula for Implementing Ofice 365 - Debbie Ireland

  • Microsoft Teams Deep Dive – 29 Practical Tips and Tricks - Lee Stephens

  • Making Teams work without understanding Information Architecture - Alistair Pugin

  • A Zero-Hype Introduction to Artifical Intelligence and Machine Learning - Kilash Awati

  • Adding voice interaction to your apps - Brian Farnhill

  • Give your PowerApps and Flows some Vision, Language and Feeling - Rich Burdes

  • How to build a Project Hub with Hubsites and Sitedesign and Sitescripts - Knut Relbe-Moe

  • Success Factors in a Thriving Yammer Network - Rebecca Jackson

  • How to Govern PowerApps and Flow - Paul Culmsee

  • Governance & Adoption for Microsoft 365: Making the Marriage work - Megan Strant

But that’s not all

I’m at the conference both days and plan to hang around for the workshop day too. So if you have any questions on

  • Microsoft Flow, PowerApps, Power Platform Governance solutions

  • Azure LogicApps, Azure Functions

  • SharePoint, PnP, Microsoft Graph, SPFx

  • Flow Studio startup journey

  • The latest imaginations in the mind of a mad man

And whatever in between…
I’m available for a chat!

The value of a Physical Conference

I always feel the top value of a physical conference is being able to stash away two or three days to focus and immerse in an environment with like-minded people, we talk tech, have the same challenges, but may have solved some of them with our own personal takes of that experience.

We are very much alike - when we are together in the same conference - we are introduced to new ideas that gives us a much broader perspective than we would usually see when we are so focused on our immediate day to day business problems.

I treat it as a relaxed edu-vacation. Seek out the sessions that broadens my capacities. And grab hold of the presenters and get a deeper discussion to take that back with me.

I would love to see you (see you again) at the Digital Workplace Conference 2019. If you see me you should say Hi John - I want to ask / I want to tell you about <THIS THING>

Presenting a roadmap to learning and mastery of Microsoft Flow at Collab365 Microsoft Flow Virtual Summit

All the Flow you can eat!

c365-fvs-john-liu.png

https://events.collab365.community/microsoft-flow-virtual-summit-agenda/

I managed to squeeze in last minute with a session on “A roadmap to learning and mastery of Microsoft Flow” this is an advanced session aiming to cover a wide range of techniques and pointing out the pitfalls along these milestones.

The session is near the very end of the Flow Virtual Summit. So I hope you would join me live. (As of this post - the Flow Virtual Summit is on right now). If you want to catch the video on demand after the session, you will need to purchase an All Access Pass.

The review of milestones and roadmap is suitable for learning or navigating our learning along Microsoft Flow.


Affiliate Discount for Flow Virtual Summit All-Pass users

Flow Studio is affiliated with Flow Virtual Summit to offer an additional $20 off the first year of your subscription if you have an Flow Virtual Summit All Access Pass. So this is how it will work.

First year - US$80
Subsequent years - US$100

After July, where Flow Studio’s price increases to US$200

First year - US$180
Subsequent years - $200

So if you have purchased an Flow Virtual Summit All-Pass and is interested in purchasing a Flow Studio subscription - let me know!

Enjoy the show

https://events.collab365.community/microsoft-flow-virtual-summit-agenda/

100 Flow-jutsu of the FlowNinja

The_original_Jedi_texts.png

Upon reaching a numerical significant milestone of 100 FlowNinja flow-lifehacks. I wanted to review the full list and provide that list here for your glorious consumption during bedtime reading.

Some of them have additional detailed blog post, some of them have an detailed YouTube video - some of them have additional videos or blog posts from the community that added more details to the picture we are all painting together.

Some lifehacks are no longer needed, as Flow has gained that ability natively. Sometimes a connector has changed. Sometimes, I’ve rolled the feature into Flow Studio.

So this is a curated list of the lifehacks, the Flow-jutsu of the Flow Ninja. With small amounts of commentary like someone scribbling notes next to old hacks recalling the wisdom (or insanity) at the time.

Enjoy. Read a random one.

Let me know if there’s a specific Flow-lifehack that you liked but wanted a video or a full blog post. I can tell the blog rate is less than 10% of the tweetstorms. And there’s very little YouTube content of these as well. Both are situations I’d like to improve.

# Flow-jutsu URL
1. Wait until Fire Changed HTTP+Webhook https://twitter.com/johnnliu/status/974544103336587268
SharePoint Technically when we have double triggers this will make more sense. Imagine every wehbook trigger can become an in-flow webhook action.
Blog http://johnliu.net/blog/2018/3/design-a-delay-until-sharepoint-file-changed-httpwebhook-for-microsoftflow
2. Convert PDF to DOCX via CloudConvert https://twitter.com/johnnliu/status/978567033431375873
3. Path to Flow-zen https://twitter.com/johnnliu/status/979391202146398209
4. Change SharePoint Permission via MSGraph https://twitter.com/johnnliu/status/981232222886752256
MSGraph Now use Send HTTP To SharePoint
5. Flow to cancel self or other Flows https://twitter.com/johnnliu/status/981870155864027136
Custom Connector Feature rolled into Flow Studio
6. Condition on Trigger https://twitter.com/johnnliu/status/983303622501974022
Blog Serge Luca https://sergeluca.wordpress.com/2018/04/11/trigger-your-flow-only-when-a-document-is-created-from-a-specific-content-type/
7. Conditional IP Address on Trigger https://twitter.com/johnnliu/status/983709086050009088
8. Approval API via custom connection https://twitter.com/johnnliu/status/983727787746869249
Custom Connector Feature rolled into Flow Studio
9. Learn Select https://twitter.com/johnnliu/status/986078352116076545
10. Two expressions https://twitter.com/johnnliu/status/986770637401149441
11. Flow Governance https://twitter.com/johnnliu/status/986796382198480899
12. Flow Editor two hacks https://twitter.com/johnnliu/status/988957057234567170
13. No hack to celebrate Send HTTP to SharePoint https://twitter.com/johnnliu/status/991679434817028097
14. Read Flow Connectors with Flow https://twitter.com/johnnliu/status/992087115394514945
15. Meta Flow killing other Flows https://twitter.com/johnnliu/status/992742309585301505
Custom Connector Feature rolled into Flow Studio
16. Make document set with slug https://twitter.com/johnnliu/status/992767564253089792
17. Make Excel Chart from Graph https://twitter.com/johnnliu/status/993483364253425664
18. Batch connector for Teams https://twitter.com/johnnliu/status/996415365235159040
Blog http://johnliu.net/blog/2018/9/make-a-wishing-wand-why-we-need-a-microsoftflow-custom-connector-for-msgraph-batch
19. Copy DocumentSet files https://twitter.com/johnnliu/status/996423332688883713
20. Flow Studio Kunai https://twitter.com/johnnliu/status/999337159684325376
Flow Studio Flow Studio marked the beginning of my work to make the hacks I do usable by the power user via an easy to use app. Without Flow Studio - many of my hacks requires a developer to integrate.
21. Flow Studio duplicate https://twitter.com/johnnliu/status/999409304384884736
22. Flow Studio Cancel all runs https://twitter.com/johnnliu/status/999694426745139200
23. Flow to VSTS https://twitter.com/johnnliu/status/999916443385843712
24. Flow Studio tags https://twitter.com/johnnliu/status/1000397356020350981
25. Save Flow to VSTS https://twitter.com/johnnliu/status/1000693670285209600
Blog http://johnliu.net/blog/2018/5/save-all-your-flows-to-vsts-via-http-rest-in-8-actions
26. Infinite Recursion of Fails https://twitter.com/johnnliu/status/1000894383099592704
27. Read O365 admin center messages https://twitter.com/johnnliu/status/1001050653752418305
28. Flow Studio filter by Trigger Type/Kind https://twitter.com/johnnliu/status/1001485562543394816
29. Multiple SharePoint subscriptions set up https://twitter.com/johnnliu/status/1002747531506245632
30. Trick the Flow Editor about Update Flow action https://twitter.com/johnnliu/status/1003621682924273664
31. Calling AzureFunction with webhook https://twitter.com/johnnliu/status/1003776181420736512
32. Resubmit multi-Flow Runs https://twitter.com/johnnliu/status/1004365335183540224
33. Send iCal https://twitter.com/johnnliu/status/1007041490642563074
34. Fast init const https://twitter.com/johnnliu/status/1007214566076366851
35. Use Flow to Site Design and Site Script https://twitter.com/johnnliu/status/1007657494099853313
36. World Cup from Flow https://twitter.com/johnnliu/status/1011173203916382208
Blog http://johnliu.net/blog/2018/6/how-to-get-live-fifa-worldcup-results-via-microsoft-flow-into-your-sharepoint-intranet
37. Watch twitter Followers https://twitter.com/johnnliu/status/1012012172694585349
38. Flow Studio middleware is Flow - github feedback https://twitter.com/johnnliu/status/1012155223136063488
39. Flow Studio run ID https://twitter.com/johnnliu/status/1012718772635856897
40. Retrieve 5K+ rows with paging https://twitter.com/johnnliu/status/1015121443921596416
41. Emojis are valid name https://twitter.com/johnnliu/status/1017190651245486085
42. RSS ideas https://twitter.com/johnnliu/status/1018669034571644928
43. Upload binary from PowerApps via Hacked Flow Button https://twitter.com/johnnliu/status/1022991595015000064
Blog http://johnliu.net/blog/2018/7/the-simplest-no-code-solution-to-save-pictures-files-from-powerapps-to-flow
YouTube https://www.youtube.com/watch?v=jxJ6z3-qrrA
44. Filter string exercise https://twitter.com/johnnliu/status/1026440991291523072
45. Filter string Xpath translate() https://twitter.com/johnnliu/status/1026456982511702016
46. Turn on Forms Split On https://twitter.com/johnnliu/status/1028565758920421377
47. Coalesce() because expression editor broke https://twitter.com/johnnliu/status/1028998499818385409
48. Please tell my future self to do timesheets https://twitter.com/johnnliu/status/1032164950142119936
49. Use Flow to process thumbnails as datauri image https://twitter.com/johnnliu/status/1034127895415799809
50. Flow O365 Azure Event Grid https://twitter.com/johnnliu/status/1038389017098637312
Blog http://johnliu.net/blog/2018/9/from-office-365-to-event-grid-all-our-events-must-flow
51. Greasemonkey script for Flow Expression Editor https://twitter.com/johnnliu/status/1041000509677592577
The script required frequent update each time when Flow designer is changed. It is something I chose not to maintain overtime. Instead, I put my work into Flow Studio's UX which I can control 100%
52. Windows Timeline https://twitter.com/johnnliu/status/1043127835026542592
53. Make new Flows from definition https://twitter.com/johnnliu/status/1045601880687009792
54. Create SP shortcut links https://twitter.com/johnnliu/status/1048745194932162560
55. Large datasets in Excel - after this I advice using MSGraph to talk to Excel https://twitter.com/johnnliu/status/1048780585395613696
56. HTTP is not Request https://twitter.com/johnnliu/status/1051976806117646336
Blog http://johnliu.net/blog/2018/10/microsoft-flow-http-trigger-request-trigger-and-you-probably-dont-want-to-use-it
57. Hiding variables out of sight https://twitter.com/johnnliu/status/1054538605090095104
Blog http://johnliu.net/blog/2018/10/hiding-your-microsoft-flow-valuables-i-mean-variables-out-of-sight
58. Meta designer hack more space https://twitter.com/johnnliu/status/1055604626530201605
subsequent Flow designer update now uses Monaco editor for Output - Monaco editor does not resize easily when the output panel's height is auto'ed
59. HTML from Markdown https://twitter.com/johnnliu/status/1056680928880222208
60. Send email with wishing wand https://twitter.com/johnnliu/status/1058000420872699909
Blog http://johnliu.net/blog/2018/11/sending-email-with-inline-images-via-microsoftgraph-and-microsoftflow
61. Make Flow Button optional https://twitter.com/johnnliu/status/1058035361945837570
this is now native in the Flow button designer
62. Creating HTML format in custom definition https://twitter.com/johnnliu/status/1063359432115908608
63. Action tracked properties https://twitter.com/johnnliu/status/1066533813734371328
64. Custom actions idea https://twitter.com/johnnliu/status/1066868834575953920
65. Setting variable with value of itself https://twitter.com/johnnliu/status/1067444794471866368
66. Hack Flow Button arg into date https://twitter.com/johnnliu/status/1068837222743367681
this is now native in the Flow button designer
67. Sort in Flow https://twitter.com/johnnliu/status/1069950601935507457
Blog http://johnliu.net/blog/2018/12/how-to-implement-sort-with-microsoft-flow-in-3-actions-within-a-loop
68. EnsureSiteAssetLibrary https://twitter.com/johnnliu/status/1072632744495247365
69. Split On false https://twitter.com/johnnliu/status/1072887142018244608
70. Set like status https://twitter.com/johnnliu/status/1074217196551696384
71. Google sheet to google cal https://twitter.com/johnnliu/status/1075278120968572928
72. Fast string replacement with 2 select https://twitter.com/johnnliu/status/1080296618258194433
73. Use Parse JSON to check types https://twitter.com/johnnliu/status/1083200955074600961
74. Intersection vs filter array https://twitter.com/johnnliu/status/1083637928876593153
75. Link to current Flow Run https://twitter.com/johnnliu/status/1087360914406264832
76. MomentJS in Flow https://twitter.com/johnnliu/status/1090957263492153344
77. For Selected DocumentSet https://twitter.com/johnnliu/status/1095426221234520064
78. Use ValidateUpdateListItem https://twitter.com/johnnliu/status/1097445738483576833
Blog http://johnliu.net/blog/2019/2/flowninja-hack-78-modifying-modified-by-and-modified-time-with-microsoft-flow
79. ExcelRest https://twitter.com/johnnliu/status/1101635675063967745
80. Stop flow SharePoint self trigger with validateUpdateListItem https://twitter.com/johnnliu/status/1101689848891494400
81. Battleship Outlook Calendar https://twitter.com/johnnliu/status/1102532924883103744
82. Group BY CAML https://twitter.com/johnnliu/status/1103772032150384641
83. Date Projection and let me count the days https://twitter.com/johnnliu/status/1105392290074288128
84. DecodeUriComponent for new line https://twitter.com/johnnliu/status/1108481776102440960
85. Black art of calling internal API on swagger https://twitter.com/johnnliu/status/1109745736541888512
YouTube https://www.youtube.com/watch?v=XwJto7zvfyk
86. For Each via CSV https://twitter.com/johnnliu/status/1110180968285921280
87. Upload File via Unused Outlook connector https://twitter.com/johnnliu/status/1115336767031468032
Blog http://johnliu.net/blog/2019/4/flowninja-hack-87-lock-microsoft-flow-powerapps-trigger-to-upload-images-to-sharepoint-with-ease
YouTube Chaks https://www.youtube.com/watch?v=K78YUppinuQ
88. SharePoint modified only trigger https://twitter.com/johnnliu/status/1116856001385209856
89. Auto reply in Github when issue is closed https://twitter.com/johnnliu/status/1119237739969277952
90. Fix parallel blocks via Edit JSON https://twitter.com/johnnliu/status/1120698508388868096
91. A power user friendly method of connecting hundreds of sites, lists and libraries to a single Flow https://twitter.com/johnnliu/status/1121055884749053953
92. Geofence pokemon go https://twitter.com/johnnliu/status/1121775858174160896
93. When connections break - send email https://twitter.com/johnnliu/status/1125793444700409857
94. At-mentions in Microsoft Teams https://twitter.com/johnnliu/status/1126745361219899393
95. Fast sync of SharePoint list via batch https://twitter.com/johnnliu/status/1127240425868107777
96. Excel variable names https://twitter.com/johnnliu/status/1129715544712597504
Blog http://johnliu.net/blog/2019/5/workarounds-needed-to-use-the-excel-connector-in-microsoft-flow
97. Export Email .eml to SharePoint https://twitter.com/johnnliu/status/1136501325615620096
Blog https://www.oneplacesolutions.com/news/save-important-emails-to-sharepoint-with-microsoft-flow.html
98. PowerApps Trigger headers https://twitter.com/johnnliu/status/1138017912222961664
99. Paste snippets from text https://twitter.com/johnnliu/status/1144055910538465281
100. Thanos Outlook Snap https://twitter.com/johnnliu/status/1145932038941237248