Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I'm trying to identify the date value of a specific row selected within my table visual and use it to modify an existing measure by replacing the Today() part with that date from the row.
So for the example below I would need to identify that the date value is "2017-07-22" and use it in the measure:
SalesPerDate = CALCULATE(RealTimeData[Total Sales], DATEVALUE(RealTimeData[Date]) = TODAY())
PLEASE NOTE:
This is a streaming dataset and Calculated Columns / Editing Queries etc are not allowed. It has to be a measure to obtain that value and then use it in another measure.
Thanks for any assistance.
Solved! Go to Solution.
@iAm3G wrote:
Hi all,
I'm trying to identify the date value of a specific row selected within my table visual and use it to modify an existing measure by replacing the Today() part with that date from the row.
So for the example below I would need to identify that the date value is "2017-07-22" and use it in the measure:
SalesPerDate = CALCULATE(RealTimeData[Total Sales], DATEVALUE(RealTimeData[Date]) = TODAY())
PLEASE NOTE:
This is a streaming dataset and Calculated Columns / Editing Queries etc are not allowed. It has to be a measure to obtain that value and then use it in another measure.
Thanks for any assistance.
If I understand your request correctly, you just need to remove the filter. The SalesPerDate would vary according to your slicer
SalesPerDate = CALCULATE(RealTimeData[Total Sales])
What is your another measure, the first measure would change according to the context of the another measure.
By the way, is the RealTimeData[Date] a text column?
@iAm3G wrote:
Hi all,
I'm trying to identify the date value of a specific row selected within my table visual and use it to modify an existing measure by replacing the Today() part with that date from the row.
So for the example below I would need to identify that the date value is "2017-07-22" and use it in the measure:
SalesPerDate = CALCULATE(RealTimeData[Total Sales], DATEVALUE(RealTimeData[Date]) = TODAY())
PLEASE NOTE:
This is a streaming dataset and Calculated Columns / Editing Queries etc are not allowed. It has to be a measure to obtain that value and then use it in another measure.
Thanks for any assistance.
If I understand your request correctly, you just need to remove the filter. The SalesPerDate would vary according to your slicer
SalesPerDate = CALCULATE(RealTimeData[Total Sales])
What is your another measure, the first measure would change according to the context of the another measure.
By the way, is the RealTimeData[Date] a text column?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |