User Profile
gthill
Advocate I
Joined 3 years ago
User Widgets
Contributions
Re: Order of Drillthrough target names
Needed to this today and found a solution. In the report.json file there is an array near the top named pods. In this array each drill-through page is a section. The name can be linked to the generated name for each page further down in the file. If you re-order this array as you want them to appear this sorts the drill-through order for you. If anyone finds this useful and needs further details let me know and I will post them.2.3KViews1like0CommentsRe: Data workflows - Run a Microsoft Fabric Item Job
Hey Anonymous - thank you for your reply, sure here is the log contents... af-8a562d6a58184d509fe8af27d6267e64-worker-0.af-8a562d6a58184d509fe8af27d6267e64-worker.adf.svc.cluster.local *** Found logs served from host http://af-8a562d6a58184d509fe8af27d6267e64-worker-0.af-8a562d6a58184d509fe8af27d6267e64-worker.adf.svc.cluster.local:8793/log/dag_id=Run_Fabric_Item/run_id=manual__2024-07-31T14:04:38.329715+00:00/task_id=run_fabric_pipeline/attempt=1.log [2024-07-31T14:04:40.081+0000] {logging_mixin.py:150} INFO - Changing /opt/airflow/logs/dag_id=Run_Fabric_Item/run_id=manual__2024-07-31T14:04:38.329715+00:00/task_id=run_fabric_pipeline permission to 509 [2024-07-31T14:04:40.262+0000] {logging_mixin.py:150} INFO - Changing /opt/airflow/logs/dag_id=Run_Fabric_Item/run_id=manual__2024-07-31T14:04:38.329715+00:00/task_id=run_fabric_pipeline permission to 509 [2024-07-31T14:04:40.364+0000] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: Run_Fabric_Item.run_fabric_pipeline manual__2024-07-31T14:04:38.329715+00:00 [queued]> [2024-07-31T14:04:40.377+0000] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: Run_Fabric_Item.run_fabric_pipeline manual__2024-07-31T14:04:38.329715+00:00 [queued]> [2024-07-31T14:04:40.377+0000] {taskinstance.py:1308} INFO - Starting attempt 1 of 1 [2024-07-31T14:04:40.395+0000] {taskinstance.py:1327} INFO - Executing <Task(FabricRunItemOperator): run_fabric_pipeline> on 2024-07-31 14:04:38.329715+00:00 [2024-07-31T14:04:40.400+0000] {standard_task_runner.py:57} INFO - Started process 51 to run task [2024-07-31T14:04:40.406+0000] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', 'Run_Fabric_Item', 'run_fabric_pipeline', 'manual__2024-07-31T14:04:38.329715+00:00', '--job-id', '48', '--raw', '--subdir', 'DAGS_FOLDER/fabric_test.py', '--cfg-path', '/tmp/tmpv9e7md6v'] [2024-07-31T14:04:40.407+0000] {standard_task_runner.py:85} INFO - Job 48: Subtask run_fabric_pipeline [2024-07-31T14:04:40.493+0000] {warnings.py:109} WARNING - /home/airflow/.local/lib/python3.8/site-packages/airflow/settings.py:195: DeprecationWarning: The sql_alchemy_conn option in [core] has been moved to the sql_alchemy_conn option in [database] - the old setting has been used, but please update your config. SQL_ALCHEMY_CONN = conf.get("database", "SQL_ALCHEMY_CONN") [2024-07-31T14:04:40.731+0000] {logging_mixin.py:150} INFO - Changing /opt/airflow/logs/dag_id=Run_Fabric_Item/run_id=manual__2024-07-31T14:04:38.329715+00:00/task_id=run_fabric_pipeline permission to 509 [2024-07-31T14:04:40.743+0000] {task_command.py:410} INFO - Running <TaskInstance: Run_Fabric_Item.run_fabric_pipeline manual__2024-07-31T14:04:38.329715+00:00 [running]> on host af-8a562d6a58184d509fe8af27d6267e64-worker-0.af-8a562d6a58184d509fe8af27d6267e64-worker.adf.svc.cluster.local [2024-07-31T14:04:41.172+0000] {taskinstance.py:1545} INFO - Exporting env vars: AIRFLOW_CTX_DAG_OWNER='airflow' AIRFLOW_CTX_DAG_ID='Run_Fabric_Item' AIRFLOW_CTX_TASK_ID='run_fabric_pipeline' AIRFLOW_CTX_EXECUTION_DATE='2024-07-31T14:04:38.329715+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='manual__2024-07-31T14:04:38.329715+00:00' [2024-07-31T14:04:41.285+0000] {base.py:73} INFO - Using connection ID 'fabric_default' for task execution. [2024-07-31T14:04:42.522+0000] {fabric.py:158} INFO - Deferring the task to wait for item run to complete. [2024-07-31T14:04:42.597+0000] {taskinstance.py:1415} INFO - Pausing task as DEFERRED. dag_id=Run_Fabric_Item, task_id=run_fabric_pipeline, execution_date=20240731T140438, start_date=20240731T140440 [2024-07-31T14:04:42.665+0000] {local_task_job_runner.py:222} INFO - Task exited with return code 100 (task deferral) [2024-07-31T14:04:43.829+0000] {logging_mixin.py:150} INFO - Changing /opt/airflow/logs/dag_id=Run_Fabric_Item/run_id=manual__2024-07-31T14:04:38.329715+00:00/task_id=run_fabric_pipeline permission to 509 [2024-07-31T14:04:44.004+0000] {logging_mixin.py:150} INFO - Changing /opt/airflow/logs/dag_id=Run_Fabric_Item/run_id=manual__2024-07-31T14:04:38.329715+00:00/task_id=run_fabric_pipeline permission to 509 [2024-07-31T14:04:44.109+0000] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: Run_Fabric_Item.run_fabric_pipeline manual__2024-07-31T14:04:38.329715+00:00 [queued]> [2024-07-31T14:04:44.125+0000] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: Run_Fabric_Item.run_fabric_pipeline manual__2024-07-31T14:04:38.329715+00:00 [queued]> [2024-07-31T14:04:44.130+0000] {taskinstance.py:1306} INFO - Resuming after deferral [2024-07-31T14:04:44.148+0000] {taskinstance.py:1327} INFO - Executing <Task(FabricRunItemOperator): run_fabric_pipeline> on 2024-07-31 14:04:38.329715+00:00 [2024-07-31T14:04:44.153+0000] {standard_task_runner.py:57} INFO - Started process 53 to run task [2024-07-31T14:04:44.158+0000] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', 'Run_Fabric_Item', 'run_fabric_pipeline', 'manual__2024-07-31T14:04:38.329715+00:00', '--job-id', '49', '--raw', '--subdir', 'DAGS_FOLDER/fabric_test.py', '--cfg-path', '/tmp/tmpzr7ui6kt'] [2024-07-31T14:04:44.159+0000] {standard_task_runner.py:85} INFO - Job 49: Subtask run_fabric_pipeline [2024-07-31T14:04:44.241+0000] {warnings.py:109} WARNING - /home/airflow/.local/lib/python3.8/site-packages/airflow/settings.py:195: DeprecationWarning: The sql_alchemy_conn option in [core] has been moved to the sql_alchemy_conn option in [database] - the old setting has been used, but please update your config. SQL_ALCHEMY_CONN = conf.get("database", "SQL_ALCHEMY_CONN") [2024-07-31T14:04:44.412+0000] {logging_mixin.py:150} INFO - Changing /opt/airflow/logs/dag_id=Run_Fabric_Item/run_id=manual__2024-07-31T14:04:38.329715+00:00/task_id=run_fabric_pipeline permission to 509 [2024-07-31T14:04:44.434+0000] {task_command.py:410} INFO - Running <TaskInstance: Run_Fabric_Item.run_fabric_pipeline manual__2024-07-31T14:04:38.329715+00:00 [running]> on host af-8a562d6a58184d509fe8af27d6267e64-worker-0.af-8a562d6a58184d509fe8af27d6267e64-worker.adf.svc.cluster.local [2024-07-31T14:04:44.848+0000] {taskinstance.py:1598} ERROR - Trigger failed: Traceback (most recent call last): File "/home/airflow/.local/lib/python3.8/site-packages/airflow/jobs/triggerer_job_runner.py", line 686, in update_triggers trigger_class = self.get_trigger_by_classpath(new_trigger_orm.classpath) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/jobs/triggerer_job_runner.py", line 727, in get_trigger_by_classpath self.trigger_cache[classpath] = import_string(classpath) File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/module_loading.py", line 36, in import_string module = import_module(module_path) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'airflow.providers.microsoft.powerbi' [2024-07-31T14:04:44.921+0000] {taskinstance.py:1824} ERROR - Task failed with exception airflow.exceptions.TaskDeferralError: Trigger failure [2024-07-31T14:04:44.926+0000] {taskinstance.py:1345} INFO - Marking task as FAILED. dag_id=Run_Fabric_Item, task_id=run_fabric_pipeline, execution_date=20240731T140438, start_date=20240731T140440, end_date=20240731T140444 [2024-07-31T14:04:44.944+0000] {standard_task_runner.py:104} ERROR - Failed to execute job 49 for task run_fabric_pipeline (Trigger failure; 53) [2024-07-31T14:04:44.972+0000] {local_task_job_runner.py:225} INFO - Task exited with return code 1 [2024-07-31T14:04:45.066+0000] {taskinstance.py:2653} INFO - 0 downstream tasks scheduled from follow-on schedule check5.7KViews0likes0CommentsRe: Data workflows - Run a Microsoft Fabric Item Job
Hi Adamk - thank you for your response. I understand that there is a missing module, however my problem is I cannot find the module to install from anywhere - I tried apache-airflow-providers-microsoft-azure but it is not contained in that5.8KViews0likes0CommentsData workflows - Run a Microsoft Fabric Item Job
Has anyone been able to get a Fabric Data workflow to run a Fabric Item Job? Run a Microsoft Fabric item job in Apache Airflow DAGs. - Microsoft Fabric | Microsoft Learn I have the authentication working, but hitting this error and not sure where to find this module? I cannot find it on PyPI ModuleNotFoundError: No module named 'airflow.providers.microsoft.powerbi'5.9KViews0likes5CommentsRe: Mashup engine error when refreshing Dataflow Gen 2 with Lakehouse as destination
OK - so I created a new Dataflow and copied the M queries across from the one which is failing and this new one works fine. I assume there is a bug or something corrupting the original Dataflow. Not an ideal solution, but might help others as a workaround until the root cause can be identified.1.8KViews0likes0CommentsRe: Mashup engine error when refreshing Dataflow Gen 2 with Lakehouse as destination
I am struggling with a similar issue - MashupException.Error: Expression.Error: We can't convert values of this type to JSON. Details: Reason = Expression.Error The Dataflow appears to be working fine in the editor, but when it is published and refreshed it fails with this error. The Dataflow extracts data from Excel files via an ADLS Gen2 shortcut in the Lakehouse. I've tried various data types, removing any spaces and special characters from column names, removing columns etc. but I'm out of ideas now and haven't been able to find a way to narrow this error down further - more details in the erorr message or a method to debug would be much welcomed. Any suggested solutions please?1.8KViews0likes1CommentRe: MashupException.Error: The value is not updatable.
We are getting this same error - our On-Premise Data Gateway is also 3000.198.9 (November 2023) Error Code: 999999, Error Details: Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: The value is not updatable. Details: Reason = Expression.Error;Detail = #table({"Name", "Id", "Data", "Schema", "ItemKind", "ItemName", "IsLeaf"}, {});Microsoft.Data.Mashup.Error.Context = System GatewayObjectId: XXX (Request ID: XXX).14KViews0likes0Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.