HI Team,
I have 10 users and 12 KPI. I want to show product in Canvas Power App Gallery as per Office 365 User Login Email
Example
If User().Email = abc@email.com , so KPI A and KPI B
If User().Email = xyz@email.com , so KPI C
If User().Email = pqr@email.com , so KPI D, KPI E, KPI F so on
How to I implement this in below existing code
Existing Code for Gallery. I have one Dropdown filter and Search Box.
SortByColumns(
Filter(
'[dw_staging].[Performance_Dashboard_Table]',
StartsWith(
'KPI Short Name',
TextSearchBox1.Text
) && (Dropdown1.Selected.Value = "All" || Goal = Dropdown1.Selected.Value)
),
"Index",
If(
SortDescending1,
Descending,
Ascending
)
)
Thanks in Advance
Solved! Go to Solution.
Hi @PijushRoy ,
Is this what you want?
SortByColumns(
Filter(
If(User().Email= abc@email.com,Filter('[dw_staging].[Performance_Dashboard_Table]',KPI=...),User().Email = xyz@email.com,Filter('[dw_staging].[Performance_Dashboard_Table]',KPI=...),User().Email = pqr@email.com,Filter('[dw_staging].[Performance_Dashboard_Table]',KPI=...)),
StartsWith(
'KPI Short Name',
TextSearchBox1.Text
) && (Dropdown1.Selected.Value = "All" || Goal = Dropdown1.Selected.Value)
),
"Index",
If(
SortDescending1,
Descending,
Ascending
)
)
Best Regards,
Wearsky
Any help please
Hi @PijushRoy ,
Is this what you want?
SortByColumns(
Filter(
If(User().Email= abc@email.com,Filter('[dw_staging].[Performance_Dashboard_Table]',KPI=...),User().Email = xyz@email.com,Filter('[dw_staging].[Performance_Dashboard_Table]',KPI=...),User().Email = pqr@email.com,Filter('[dw_staging].[Performance_Dashboard_Table]',KPI=...)),
StartsWith(
'KPI Short Name',
TextSearchBox1.Text
) && (Dropdown1.Selected.Value = "All" || Goal = Dropdown1.Selected.Value)
),
"Index",
If(
SortDescending1,
Descending,
Ascending
)
)
Best Regards,
Wearsky
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
201 | |
47 | |
43 | |
40 | |
36 |
User | Count |
---|---|
289 | |
81 | |
81 | |
79 | |
71 |