Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Can you please help me with how we can add Multiple formulas to an ITEM Property
1st Formula :
If(_filter="" , <> , Filter(<>, Status.Value =_filter)
2nd Formula :
SortByColumns(<>,"Request_no",Descending)
3rd Formula :
If(varPageNumber=1, FirstN(<>,ddPageSize.SelectedText.Value*varPageNumber),
LastN(FirstN(<>,ddPageSize.SelectedText.Value*varPageNumber), ddPageSize.SelectedText.Value*1));
when I add Semicolon (;) then it gives me an error
'Expected operator. We expect an operator such as +, *, or & at this point in the formula.'
please help me out with this I am stuck for the last 2 days
Hi @vishv8715 ,
Try this
With(
{
wPages: Value(ddPageSize.Selected.Value) * varPageNumber,
wSize: Value(ddPageSize.Selected.Value),
wList:
SortByColumns(
Filter(
<>,
(
Len(_filter) = 0 ||
Status.Value =_filter
)
),
"Request_no",
Descending
)
},
If(
varPageNumber=1,
FirstN(
wList,
wPages
),
LastN(
FirstN(
wList,
wPages
),
wSize
)
)
);
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
HI @vishv8715 ,
Try using something like below -
If(varPageNumber=1, FirstN(SortByColumns(If(_filter="" , <> , Filter(<>, Status.Value =_filter),"Request_no",Descending),ddPageSize.SelectedText.Value*varPageNumber),
LastN(FirstN(SortByColumns(If(_filter="" , <> , Filter(<>, Status.Value =_filter),"Request_no",Descending),ddPageSize.SelectedText.Value*varPageNumber), ddPageSize.SelectedText.Value*1));
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!