Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
For my personal knowledge, I'd like to know if it's possible to add Errors in the code below as shown in the illustration on the right of the image?
Thanks in advance
Best regards
let
T1 = #table( type table[C1=Text.Type, C2=Number.Type, C3=Number.Type, C4=Number.Type], { {"A",22, 36, 45}, {"B", 42, 54, 63}, {"C", 67, 73, 86}, {"D", 22, 76, 84}} )
in
T1
Solved! Go to Solution.
Just replace any of the entries with an error record. You can add messages to the error which will show up if you select the cell. eg:
let
T1 = #table( type table[C1=Text.Type, C2=Number.Type, C3=Number.Type, C4=Number.Type], {
{"A",22, 36, 45},
{"B", 42, 54, 63},
{"C", 67, 73, 86},
{"D", 22, error [Reason="my error", Message="I want this", Detail="showing the error here"], 84}} )
in
T1
Hello @ronrsnfld ,
Great, thank you very much,
Thanks also for nice layout/formating the code
It's nicer and easier to read
Have a nice day
Just replace any of the entries with an error record. You can add messages to the error which will show up if you select the cell. eg:
let
T1 = #table( type table[C1=Text.Type, C2=Number.Type, C3=Number.Type, C4=Number.Type], {
{"A",22, 36, 45},
{"B", 42, 54, 63},
{"C", 67, 73, 86},
{"D", 22, error [Reason="my error", Message="I want this", Detail="showing the error here"], 84}} )
in
T1
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |