Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone,
I am working on a document with two different excel files: GRN and RTB.
Everyday the number of open entries (total rows) in excel sheet GRN is counted (filtered according to the date) and then fed in RTB as a single value in a cell pertaining to that day's date. Normally I enter the values manually in Excel but I was wondering whether there's a way to automize it using PowerBI?
I have created a Measure:
Is there a way PowerBI can do that itself?
Thanks a lot for taking time and helping me 🙂
@Anonymous ,If you need to filter GRN by date, you can create a calculated column in the GRN table:
IsToday = IF('GRN'[Date] = TODAY(), 1, 0)
Then, modify your measure to count only today's rows:
TotalGRN = CALCULATE(COUNTROWS('GRN'), 'GRN'[IsToday] = 1)
Create Relationship:
Go to Model view and create a relationship between the Date columns in GRN and RTB tables if they exist.
Create a new measure in the RTB table:
SingleCellValue =
VAR CurrentDate = MAX('RTB'[Date])
RETURN
CALCULATE([TotalGRN], 'GRN'[Date] = CurrentDate)
Proud to be a Super User! |
|
The values still dont show in the cell where I want them to. Maybe you can please explain the steps? @bhanu_gautam
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
101 | |
66 | |
48 | |
39 | |
32 |
User | Count |
---|---|
166 | |
117 | |
61 | |
58 | |
42 |