Power BI · मराठी आवृत्ती
4.7 Import, DirectQuery आणि Live connection मधला नेमका फरक
DirectQuery आणि Live connection मध्ये data तुमच्या file बाहेर असतो, पण connection वेगळ्या गोष्टीला असतं. DirectQuery database ला जोडतो आणि model तुम्ही बनवता. Live connection आधी तयार semantic model ला जोडतो; report त्यावर बनवता.
| प्रश्न | Import | DirectQuery | Live connection |
|---|---|---|---|
| कशाला connect? | Import support करणारा source | Supported source, उदा. SQL Server, Azure SQL, Snowflake | Power BI semantic model / Analysis Services |
| Data कुठे? | VertiPaq model मध्ये copy | Source database मध्ये | Remote model मध्ये |
| Model कोण बनवतं? | तुम्ही | तुम्ही | आधीच तयार; उदा. central BI team |
| Power Query | पूर्ण वापर | Supported foldable steps | Report मध्ये नाही |
| Calculated columns / tables | हो | मर्यादा लागू | Remote model बदलता येत नाही |
| वेग | साधारण जलद | Database वर अवलंबून | Remote model वर अवलंबून |
| Freshness | शेवटचा refresh | Query / cache नुसार | Remote model नुसार |
| Refresh | Imported data refresh हवा | Imported data refresh नाही; visual queries source वर जातात | Remote model त्याच्या mode नुसार refresh होतो |
| कसं तयार करायचं? | Get data › source › Import | Get data › SQL Server › DirectQuery | Power BI semantic models / OneLake catalog किंवा Analysis Services › Connect live |
| काल्पनिक quick-commerce उदाहरण | 12 महिन्यांचा CSV + SQL training report | Operations database वर order monitoring | Rani च्या team च्या QC Sales model वर city managers चे reports |
Live connection तयार करा
- Home › Power BI semantic models किंवा OneLake catalog उघडा.
- QC – Maharashtra workspace मधला QC Sales Model निवडून Connect करा.
- Status bar मध्ये Connected live दिसतं का पाहा. Remote model या report मधून Power Query मध्ये edit करता येत नाही.
- उपलब्ध असल्यास Modeling › New measure मधून report measure बनवा.
- स्वतःची targets Excel table जोडायची असेल तर Make changes to this model वापरून supported composite model बनवण्याची प्रक्रिया तपासा.
Practice
नवीन analyst Ruhi ला दोन वाक्यांत समजावून सांगा: city managers shared model का वापरतात आणि operations report source वर DirectQuery का करू शकतो?
एक शक्य उत्तर
Managers ना एकसारखी sales definitions हवीत, म्हणून central model वापरतात. Operations ला source मधल्या ताज्या orders पाहायच्या असतात, म्हणून source आणि performance योग्य असल्यास DirectQuery वापरतात.