Power BI-da GET so'rovini qanday amalga oshirish uchun Python-dan foydalanishning namunasi: Power BI-ni oching va yangi hisobot yarating. Power Query Editor-ni ochish uchun "Ma'lumotlarni o'zgartirish" tugmasini bosing. "O'zgartirish" tabidagi "Python" tugmasini bosing. Python skript muharririga quyidagi kodni yoping: # So'rovlar kutubxonasini import qilish so'rovlarini import qiling # API oxirgi nuqtasi uchun URL-ni belgilang url = "https://api.example.com" # API oxirgi nuqtasiga GET so'rovini qiling = so'rovlar.get.url) # Agar so'rov muvaffaqiyatli bo'lsa, javobni jadvalga aylantiring. if response.status_code == 200: table = response.json) Python skriptini
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence