March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
while i am excuting the Power query the list does not contain no records in Power Bi .At that time it showing the " the table is empty "i want to show false.But i am getting error.Can you please help me how to make it as false.
Solved! Go to Solution.
@jayendra,
Add a new blank query in Power BI Desktop, then create a function in the Advanced Editor of the query with the List.IsEmpty function to check the list, when the list is empty, return false, otherwise expand the list. Below is an example for your reference.
let export = (TextName as text, listname as list) => let name = TextName, Table = Table.FromList(listname, Splitter.SplitByNothing(), null, null, ExtraValues.Error), result= if List.IsEmpty(listname) then name else Table in result in export
Regards,
@jayendra,
Add a new blank query in Power BI Desktop, then create a function in the Advanced Editor of the query with the List.IsEmpty function to check the list, when the list is empty, return false, otherwise expand the list. Below is an example for your reference.
let export = (TextName as text, listname as list) => let name = TextName, Table = Table.FromList(listname, Splitter.SplitByNothing(), null, null, ExtraValues.Error), result= if List.IsEmpty(listname) then name else Table in result in export
Regards,
Hi,
Could you try with Column = IF(ISBLANK(table[columntocheck]);"False";table[columntocheck])
Regards,
Salvador.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
97 | |
87 | |
70 | |
62 |
User | Count |
---|---|
138 | |
116 | |
114 | |
99 | |
98 |