# 7.7 Indian dates आणि Using Locale

Source: https://ravindrabagale.com/mr/powerbi/ch07-data-cleaning-a-z-in-power-query/7-7-wrong-data-types-and-indian-date-formats-using.html
Language: mr (Marathi with English technical terms)

Source dd-mm-yyyy असेल आणि locale US असेल तर 03-04-2025 चुकीने 4 March होतं. 14-03-2025 मात्र month 14 नसल्याने error देतं. म्हणून error नसला तरी date बरोबर असेलच असं नाही.

 | Order Date (text)
 | Result with US locale

 | 03-04-2025
 | 04-Mar-2025 ✗

 | 14-03-2025
 | Error ✗

 | 01-11-2025
 | 11-Jan-2025 ✗

 | Order Date (Date)

 | 03-Apr-2025

 | 14-Mar-2025

 | 01-Nov-2025

चुकीचा automatic Changed Type step काढा किंवा योग्य पद्धतीने edit करा; dependent steps तपासा.

Order Date header › Change Type › Using Locale निवडा.

Date किंवा Date/Time आणि English (India) निवडा.

Quality bar व sample dates तपासा.

File-wide setting साठी File › Options and settings › Options › Current File › Regional Settings › Locale for import वापरा.

Typed = Table.TransformColumnTypes(Source, {{"Order Date", type date}}, "en-IN")

 | Column | Type | कारण

 | Order ID, Product ID, Store ID, Pincode, Phone | Text | Identifiers वर बेरीज करायची नसते.

 | Quantity | Whole Number | Items चा count.

 | Amount, Discount, Delivery Fee | Fixed Decimal / योग्य Decimal | Money precision.

 | Delivery Time Mins | Whole Number किंवा Decimal | मोजमापाची अचूकता.

 | Order DateTime | Date/Time किंवा Date/Time/Timezone | तारीख, वेळ आणि आवश्यक timezone.

 | Order Date | Date | Date table relationship.

 | Is Repeat Customer | True/False | Flag.

Practice

Kolhapur export मधलं 31-10-2025 23:52 Using Locale ने Date/Time करा. त्यातून Date-only column बनवा.

रवींद्र बागले यांची tip

03-04 सारखी date शांतपणे चुकीच्या month मध्ये जाऊ शकते. Locale source format शी जुळवा आणि किमान काही dates स्वतः तपासा.
